예제 #1
0
 /// <summary>Определение соединения по полям с одинаковыми именами</summary>
 public static JoinCond Fields(string field)
 {
     return(JoinCond.Fields(field, field));
 }
예제 #2
0
 /// <summary>Аналог конструкции SELECT ... JOIN</summary>
 public Select Join(string rightTableName, JoinCond joinCondition)
 {
     this.Query.FromClause.Join(JoinType.Inner, this.Query.FromClause.BaseTable, FromTerm.Table(rightTableName), joinCondition.Condition);
     return(this);
 }