public SchemaColumn(Schema schema, string name, DbType dbType, bool isIdentity, bool isKey, SchemaIndexType indexType, IRelationType relationType, int?size, int?precision, int?scale) { this.Name = name.ToLowerInvariant(); this.StatementName = schema.EscapeIfReserved(this.Name); this.Param = schema.CreateParameter(name, dbType); this.IsKey = isKey; this.IsIdentity = isIdentity; this.IndexType = indexType; this.Size = size; this.Precision = precision; this.Scale = scale; this.DbType = dbType; this.RelationType = relationType; }
public SchemaColumn(Schema schema, string name, DbType dbType, bool isIdentity, bool isKey, SchemaIndexType indexType, IRelationType relationType) : this(schema, name, dbType, isIdentity, isKey, indexType, relationType, null, null, null) { }