public void ToSchema(SchemaName schemaName) { this.Name = this.Name.OnSchema(schemaName); }
public ObjectName OnSchema(SchemaName schemaName) { return(new ObjectName(schemaName, Name)); }
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()))); }
public ObjectName(SchemaName schema, string name) { this.Name = name.HasText() ? name : throw new ArgumentNullException("name"); this.Schema = schema ?? throw new ArgumentNullException("schema"); }