Esempio n. 1
0
 public static int UpdateBy <T>(ConditionBuilder <T> condition, object obj) where T : class, IDbObject, new()
 {
     return(GetOperator(typeof(T)).UpdateBy(condition.ToCondition(), obj));
 }
Esempio n. 2
0
 public static int DeleteBy <T>(ConditionBuilder <T> condition) where T : class, IDbObject, new()
 {
     return(GetOperator(typeof(T)).DeleteBy(condition.ToCondition()));
 }
Esempio n. 3
0
 public static T GetObject <T>(ConditionBuilder <T> c, OrderBy ob) where T : class, IDbObject, new()
 {
     return(GetOperator(typeof(T)).GetObject <T>(c.ToCondition(), ob));
 }