internal IndexState(IEnumerable <Identifier> fields, IndexCustomState customState) : this(from field in fields select field.Name, customState) { foreach (var field in fields) { FieldType.CheckType(field); } }
internal IndexState(IEnumerable <string> fieldNames, IndexCustomState customState) { this.fieldNames = fieldNames.ToList().AsReadOnly(); this.customState = customState; }
public IntrospectedIndexCustomState(IntrospectedTable table, string indexName, IndexCustomState customState) { this.table = table; this.indexName = indexName; this.customState = customState; }
public static SubObjectState <UniqueIndexType, State> CreatePrimaryKey(Identifier table, string name, IEnumerable <Identifier> fields, IndexCustomState customState) { return(Create(table, name, true, fields, customState)); }
public State(bool isPrimaryKey, IEnumerable <Identifier> fields, IndexCustomState customState) { this.isPrimaryKey = isPrimaryKey; this.indexState = new IndexState(fields, customState); }
public static SubObjectState <NonUniqueIndexType, IndexState> Create(Identifier table, string name, IEnumerable <Identifier> fields, IndexCustomState customState) { return(CreateState(table, name, new IndexState(fields, customState))); }