Example #1
0
 /// <summary>
 /// Initializes a new instance of the ColumnSchema
 /// </summary>
 /// <param name="dbprovider">The DbProvider used for interrogating the datastore.</param>
 /// <param name="table">The TableSchema that contains the column.</param>
 /// <param name="sqlType">SqlDbType.</param>
 /// <param name="dataType">.NET DataType</param>
 /// <param name="name">Name of the column.</param>
 /// <param name="props">Any extended properties.</param>
 /// <param name="length">Length of the column if supported.</param>
 public ColumnSchema(IDbProvider dbprovider, TableSchema table, SqlDbType sqlType, Type dataType, string name, int length, Dictionary<string, object> props)
 {
     _table = table;
     _props = props;
     _sqlType = sqlType;
     _dataType = dataType;
     _name = name;
     _length = length;
     _dbprovider = dbprovider;
 }
 /// <summary>
 /// Initializes a new instance of the ForeignKeyColumnSchema class.
 /// </summary>
 /// <param name="dbprovider">The DbProvider used for interrogating the datastore.</param>
 /// <param name="table">The TableSchema that contains the column.</param>
 /// <param name="sqlType">SqlDbType.</param>
 /// <param name="dataType">.NET DataType</param>
 /// <param name="name">Name of the column.</param>
 /// <param name="props">Any extended properties.</param>
 /// <param name="length">Length of the column if supported.</param>
 public ForeignKeyColumnSchema(IDbProvider dbprovider, TableSchema table, SqlDbType sqlType, Type dataType, string name, int length, Dictionary<string, object> props)
     : base(dbprovider, table, sqlType, dataType, name, length, props)
 {
 }