Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataDbSchema"/> class.
 /// </summary>
 /// <param name="dbConnectionString">The dbConnectionString<see cref="string"/>.</param>
 public DataDbSchema(string dbConnectionString)
 {
     DataDbTables    = new DbTables();
     DbConfig        = new DbConfig(dbConnectionString);
     SqlDbConnection = new SqlConnection(dbConnectionString);
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataDbSchema"/> class.
 /// </summary>
 /// <param name="sqlDbConnection">The sqlDbConnection<see cref="SqlConnection"/>.</param>
 public DataDbSchema(SqlConnection sqlDbConnection)
 {
     DataDbTables = new DbTables();
     DbConfig     = new DbConfig(sqlDbConnection.ConnectionString);
 }