/// <summary> /// Deletes table rows the by where. /// </summary> public static int DeleteByWhere <T>(this IDataHelper dh, string whereCondition, object paramUsingModel) { return(DeleteByWhere <T>(dh, whereCondition, paramKeyAndValue: AttributeHelper.GetParamsArrayByModel(dh, paramUsingModel))); }
/// <summary> /// Updates the by by where. /// </summary> public static int UpdateByByWhere <T>(this IDataHelper dh, T model, bool isNullMeansIgnore, string whereCondition, object paramUsingModel) { return(UpdateByByWhere <T>(dh, model, isNullMeansIgnore, whereCondition, paramKeyAndValue: AttributeHelper.GetParamsArrayByModel(dh, paramUsingModel))); }
/// <summary> /// Executes the no query. but the parameter using model. /// </summary> public static int ExecNoQuery(this IDataHelper dh, string tsqlParamed, object paramUsingModel) { return(dh.ExecNoQuery(tsqlParamed, paramKeyAndValue: AttributeHelper.GetParamsArrayByModel(dh, paramUsingModel))); }