Пример #1
0
 /// <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);
 }
Пример #2
0
 /// <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>
 /// <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);
 }
Пример #4
0
 /// <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);
 }