public List <T> Select <T>(int quantity, string tableName, DbConditionBuilder condition) { if (condition == null) { return(this.Select <T>(quantity, tableName, null, null)); } return(this.Select <T>(quantity, tableName, condition.Condition, condition.OrderBy, condition.Parameters)); }
public int Delete(string tableName, DbConditionBuilder condition) { if (condition == null) { return(this.Delete(tableName, null, null)); } return(this.Delete(tableName, condition.Condition, condition.Parameters)); }
public T GetBy <T>(string tableName, DbConditionBuilder condition) { if (condition == null) { return(this.GetBy <T>(tableName, null, string.Empty, new DbParameter[0])); } return(this.GetBy <T>(tableName, condition.Condition, condition.OrderBy, condition.Parameters)); }
public List <T> Remove <T>(string tableName, DbConditionBuilder condition) { if (condition == null) { return(this.Remove <T>(tableName, null, null)); } return(this.Remove <T>(tableName, condition.Condition, condition.Parameters)); }
public bool Exists(string tableName, DbConditionBuilder condition) { if (condition == null) { return(this.Exists(tableName, null, null)); } return(this.Exists(tableName, condition.Condition, condition.Parameters)); }