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