示例#1
0
 public SelectJoinModel(SelectModel model, string aliasTableName, JoinConnect connect, QueryExpression query, OrderExpression order, JoinSetting setting)
 {
     this._model          = model;
     this._connect        = connect;
     this._query          = query;
     this._order          = order;
     this._aliasTableName = aliasTableName;
     this._joinMapping    = model.JoinTableMapping;
     if ((setting & JoinSetting.QueryDistinct) == JoinSetting.QueryDistinct)
     {
         _distinct = true;
     }
     if ((setting & JoinSetting.NoDataSetEntityNull) == JoinSetting.NoDataSetEntityNull)
     {
         _noDataSetEntityNull = true;
     }
 }
示例#2
0
 public SelectJoinModel(SelectModel model, string aliasTableName, JoinConnect connect, QueryExpression query, OrderExpression order, JoinSetting setting)
 {
     Model          = model;
     Connect        = connect;
     Query          = query;
     Order          = order;
     AliasTableName = aliasTableName;
     JoinMapping    = model.JoinTableMapping;
     if ((setting & JoinSetting.QueryDistinct) == JoinSetting.QueryDistinct)
     {
         Distinct = true;
     }
     if ((setting & JoinSetting.NoDataSetEntityNull) == JoinSetting.NoDataSetEntityNull)
     {
         NoDataSetEntityNull = true;
     }
 }
示例#3
0
 public SelectMap(SelectModel model)
 {
     _model = model;
 }
示例#4
0
 public SelectMap(SelectModel model)
 {
     this._model = model;
 }