public bool Destroy(object RegId) { return(Registration1.Destroy(RegId) == 1); }
public void Insert(DateTime RegDate, string RegName1, string RegName2, string RegCompany, string RegAddr, string RegTel, string RegEmail, bool?RegMailing, string RegWhere, string RegExtra, string RegIp, string RegCountry, string QbookTitle, int?QinDimensions, string QinCurrency, string QinPallet, double?QinLength, double?QinWidth, double?QinDepth, double?QinWeight, double?QinExtent, double?QinPapergsm, bool?QinHardback, int?QcopiesCarton, string QoriginName, string QfinalName, int?QtotCopies, byte[] ResTs) { Registration1 item = new Registration1(); item.RegDate = RegDate; item.RegName1 = RegName1; item.RegName2 = RegName2; item.RegCompany = RegCompany; item.RegAddr = RegAddr; item.RegTel = RegTel; item.RegEmail = RegEmail; item.RegMailing = RegMailing; item.RegWhere = RegWhere; item.RegExtra = RegExtra; item.RegIp = RegIp; item.RegCountry = RegCountry; item.QbookTitle = QbookTitle; item.QinDimensions = QinDimensions; item.QinCurrency = QinCurrency; item.QinPallet = QinPallet; item.QinLength = QinLength; item.QinWidth = QinWidth; item.QinDepth = QinDepth; item.QinWeight = QinWeight; item.QinExtent = QinExtent; item.QinPapergsm = QinPapergsm; item.QinHardback = QinHardback; item.QcopiesCarton = QcopiesCarton; item.QoriginName = QoriginName; item.QfinalName = QfinalName; item.QtotCopies = QtotCopies; item.ResTs = ResTs; item.Save(UserName); }
public bool Delete(object RegId) { return(Registration1.Delete(RegId) == 1); }