/// <summary> /// CTor /// </summary> /// <param name="comPlusContextHost">the COM+ context host for this adapter instance.</param> /// <param name="connectionString">The connection string to use when connecting to the database.</param> /// <remarks>do not call this from your code</remarks> public DataAccessAdapter(IComPlusAdapterContext comPlusContextHost, string connectionString) : base(comPlusContextHost, PersistenceInfoProviderSingleton.GetInstance()) { InitClass(connectionString, false, CatalogNameUsage.Default, String.Empty, null, null); }
/// <summary> /// CTor /// </summary> /// <param name="comPlusContextHost">the COM+ context host for this adapter instance.</param> /// <param name="connectionString">The connection string to use when connecting to the database.</param> /// <remarks>do not call this from your code</remarks> public DataAccessAdapter(IComPlusAdapterContext comPlusContextHost, string connectionString) : base(comPlusContextHost) { InitClass(connectionString, false); }
/// <summary> /// CTor /// </summary> /// <param name="comPlusContextHost">the COM+ context host for this adapter instance.</param> /// <remarks>do not call this from your code</remarks> public DataAccessAdapter(IComPlusAdapterContext comPlusContextHost) : base(comPlusContextHost) { InitClass(ReadConnectionStringFromConfig(), false); }