public static int Update(string cmdText, object dataObj) { return(DataBase.ExecuteNonQuery(CommandType.Text, cmdText, DataBinding.BuildParameter(cmdText, dataObj))); }
public static void Insert(string cmdText, object dataObj) { DataBase.ExecuteNonQuery(CommandType.Text, cmdText, DataBinding.BuildParameter(cmdText, dataObj)); }