Пример #1
0
 public TReturn GetBuilder <TReturn>(ProxyData parserData, SqlConfig setting, T rawData) where TReturn : class
 {
     return(Caller <T> .GetBuilder(parserData, setting, rawData, _ot) as TReturn);
 }
Пример #2
0
 public ISelectBuilder ToSelectBuilder <T>(SqlConfig setting, T rawData, OperateType ot = OperateType.MutipleSelect)
 {
     return(this.ToBuilders <T, ISelectBuilder>(new SelectStrategy <T>(ot), setting, rawData));
 }
Пример #3
0
 public List <IDbBuilder> ToDbBuilders <T>(SqlConfig setting, T rawData) where T : JObject
 {
     return(this.ToBuilders <JObject, List <IDbBuilder> >(new DbStrategy(), setting, rawData));
 }
Пример #4
0
 public TReturn ToBuilders <T, TReturn>(IStrategy <T> strategy, SqlConfig setting, T rawData) where TReturn : class
 {
     return(strategy.GetBuilder <TReturn>(this.Data, setting, rawData));
 }