AddTable() public method

Adds a table to the query.
public AddTable ( TableBase table ) : void
table TableBase
return void
コード例 #1
0
 public Query Select()
 {
     var result = new SelectQuery();
     foreach (var field in Fields)
         result.AddSelectField(field);
     result.AddTable(this);
     return result;
 }
コード例 #2
0
 public Query SelectWhere(WherePart condition)
 {
     var result = new SelectQuery();
     foreach (var field in Fields)
         result.AddSelectField(field);
     result.AddTable(this);
     result.AddWhere(condition);
     return result;
 }