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