Beispiel #1
0
 public void ToSchema(SchemaName schemaName)
 {
     this.Name = this.Name.OnSchema(schemaName);
 }
Beispiel #2
0
 public ObjectName OnSchema(SchemaName schemaName)
 {
     return(new ObjectName(schemaName, Name));
 }
Beispiel #3
0
        public virtual ObjectName GenerateTableNameCollection(Table table, NameSequence name, TableNameAttribute tn)
        {
            SchemaName sn = tn != null?GetSchemaName(tn) : SchemaName.Default;

            return(new ObjectName(sn, tn?.Name ?? (table.Name.Name + name.ToString())));
        }
Beispiel #4
0
 public ObjectName(SchemaName schema, string name)
 {
     this.Name   = name.HasText() ? name : throw new ArgumentNullException("name");
     this.Schema = schema ?? throw new ArgumentNullException("schema");
 }