public IntrospectedFulltextIndex(IntrospectedTable table, string catalog, string keyName, IEnumerable <string> columnNames) { this.table = table; this.catalog = catalog; this.keyName = keyName; this.columnNames = columnNames.ToList().AsReadOnly(); }
public IntrospectedForeignKey(IntrospectedTable fromTable, IntrospectedTable toTable, string name, bool isCascadeDelete, IEnumerable <FieldPair> joins) { this.fromTable = fromTable; this.toTable = toTable; this.name = name; this.isCascadeDelete = isCascadeDelete; this.joins = joins.ToList().AsReadOnly(); }
public IntrospectedTrigger(string schema, string name, IntrospectedTable table, TriggerTiming timing, TriggerEvents events, string body) : base(schema, name) { this.table = table; this.timing = timing; this.events = events; this.body = body; }
public IntrospectedIndex(IntrospectedTable table, bool isPrimaryKey, bool isUnique, string name, IEnumerable <string> fieldNames) { this.table = table; this.isPrimaryKey = isPrimaryKey; this.isUnique = isUnique; this.name = name; this.fieldNames = fieldNames.ToList().AsReadOnly(); }
public IntrospectedField(IntrospectedTable table, string name, int ordinalPosition, string dataType, bool isNullable, bool isSequencedPkey, string sequenceName) { this.table = table; this.name = name; this.ordinalPosition = ordinalPosition; this.dataType = dataType; this.isNullable = isNullable; if (sequenceName != null && !isSequencedPkey) { throw new ArgumentException("Can't specify sequence name on a non-sequenced-pkey field"); } this.isSequencedPkey = isSequencedPkey; this.sequenceName = sequenceName; }
public IntrospectedIndexCustomState(IntrospectedTable table, string indexName, IndexCustomState customState) { this.table = table; this.indexName = indexName; this.customState = customState; }