Beispiel #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));
 }
Beispiel #2
0
 public static int DeleteBy <T>(ConditionBuilder <T> condition) where T : class, IDbObject, new()
 {
     return(GetOperator(typeof(T)).DeleteBy(condition.ToCondition()));
 }
Beispiel #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));
 }