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

AdsFactory.CreateConnection

Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Returns an AdsConnection object as a strongly typed DbConnection instance.

public DbConnection CreateConnection();

Example

AdsFactory adsFact = AdsFactory.Instance;

DbConnection adsConn = adsFact.CreateConnection();

See Also

AdsConnection