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