Exemple #1
0
        public SchemaTable(Schema schema, SchemaTableKind kind, string name)
        {
            this.Schema        = schema;
            this.Name          = name.ToLowerInvariant();
            this.StatementName = schema.EscapeIfReserved(this.Name);
            this.Kind          = kind;

            this.columnsByName = new Dictionary <string, SchemaColumn>();
        }
Exemple #2
0
 public SchemaTable(Schema schema, SchemaTableKind kind, IRelationType relationType)
     : this(schema, kind, relationType.AssociationType.SingularFullName + relationType.RoleType.SingularName)
 {
     this.RelationType = relationType;
 }
Exemple #3
0
 public SchemaTable(Schema schema, SchemaTableKind kind, IObjectType objectType)
     : this(schema, kind, objectType.SingularName)
 {
     this.ObjectType = objectType;
 }