Пример #1
0
 public T From(DataEntity <T> table)
 {
     Table = table;
     return(this as T);
 }
Пример #2
0
 public T From(string schema, string table)
 {
     Table = new DataEntity <T>(this as T);
     Table.EntityName(schema, table).AS();
     return(this as T);
 }
Пример #3
0
 public T FromAs(string schema, string table, string asname)
 {
     Table = new DataEntity <T>(this as T);
     return(Table.EntityName(schema, table).AS(asname));
 }
Пример #4
0
 public T From(string table)
 {
     Table = new DataEntity <T>(this as T).EntityName(table);
     return(this as T);
 }
Пример #5
0
 public JoinExp <T> Join(SelectCommand selectedtable, string asname)
 {
     Table = new DataEntity <T>(Command);
     Table.SelectExpression(selectedtable.CommandScript()).AS(asname);
     return(this);
 }
Пример #6
0
 public JoinExp <T> Join(DataEntity <T> table)
 {
     Table = table;
     return(this);
 }
Пример #7
0
 public JoinExp <T> Join(string table, string asname)
 {
     Table = new DataEntity <T>(Command);
     Table.EntityName(table).AS(asname);
     return(this);
 }
Пример #8
0
 public JoinExp <T> Join(string table)
 {
     Table = new DataEntity <T>(Command).EntityName(table);
     return(this);
 }