Ejemplo n.º 1
0
 public TableJoin AddJoin(JoinTypes type, DataField joinField, DataField tableField)
 {
     TableJoin tj = new TableJoin(type, joinField, tableField);
     joins.Add(tj);
     return tj;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="type">Type of table join</param>
 /// <param name="table">Table adjoining the parent</param>
 /// <param name="joinField">Join field in the table being adjoined to the parent</param>
 /// <param name="tableField">Join field in the parent table</param>
 public TableJoin AddJoin(JoinTypes type, string table, string joinField, string tableField)
 {
     TableJoin tj = new TableJoin(type, this.tables[0], table, joinField, tableField);
     joins.Add(tj);
     return tj;
 }