Example #1
0
 public T From(DataEntity <T> table)
 {
     Table = table;
     return(this as T);
 }
Example #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);
 }
Example #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));
 }
Example #4
0
 public T From(string table)
 {
     Table = new DataEntity <T>(this as T).EntityName(table);
     return(this as T);
 }
Example #5
0
 public JoinExp <T> Join(SelectCommand selectedtable, string asname)
 {
     Table = new DataEntity <T>(Command);
     Table.SelectExpression(selectedtable.CommandScript()).AS(asname);
     return(this);
 }
Example #6
0
 public JoinExp <T> Join(DataEntity <T> table)
 {
     Table = table;
     return(this);
 }
Example #7
0
 public JoinExp <T> Join(string table, string asname)
 {
     Table = new DataEntity <T>(Command);
     Table.EntityName(table).AS(asname);
     return(this);
 }
Example #8
0
 public JoinExp <T> Join(string table)
 {
     Table = new DataEntity <T>(Command).EntityName(table);
     return(this);
 }