Navigation:  Advantage .NET Data Provider > AdsFactory Class > AdsFactory Fields >


Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Gets an instance of the AdsFactory. This can be used to retrieve strongly typed data objects.

public static readonly AdsFactory Instance;


An application has a single instance of AdsFactory. It can be retrieved via the Instance field of the AdsFactory class. It can also be retrieved by calling DbProviderFactories.GetFactory().


AdsFactory adsFact = AdsFactory.Instance;

DbConnection adsConn = adsFact.CreateConnection();