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