public bool Delete(string query, CommandType type, params CommandParameter[] parameters) { using (var internalCmd = new InternalCommand(_conFactory)) { return(internalCmd.ExecCommand(query, type, parameters)); } }
public bool Save(string query, CommandType type, T model) { using (var internalCmd = new InternalCommand(_conFactory)) { return(internalCmd.ExecCommand(query, type, model)); } }