Пример #1
0
        public void Update(int RequestId, DateTime?RequestDate, int?RequestUserId, int?RequestCompanyId, string RequestIp, string BookTitle, int InDimensions, string InCurrency, string InPallet, double?InLength, double?InWidth, double?InDepth, double?InWeight, double?InExtent, double?InPapergsm, bool?InHardback, int?CopiesCarton, string OriginName, string CountryName, string FinalName, int?TotCopies, byte[] PrTimestamp)
        {
            PriceRequestTemp item = new PriceRequestTemp();

            item.MarkOld();
            item.IsLoaded = true;

            item.RequestId = RequestId;

            item.RequestDate = RequestDate;

            item.RequestUserId = RequestUserId;

            item.RequestCompanyId = RequestCompanyId;

            item.RequestIp = RequestIp;

            item.BookTitle = BookTitle;

            item.InDimensions = InDimensions;

            item.InCurrency = InCurrency;

            item.InPallet = InPallet;

            item.InLength = InLength;

            item.InWidth = InWidth;

            item.InDepth = InDepth;

            item.InWeight = InWeight;

            item.InExtent = InExtent;

            item.InPapergsm = InPapergsm;

            item.InHardback = InHardback;

            item.CopiesCarton = CopiesCarton;

            item.OriginName = OriginName;

            item.CountryName = CountryName;

            item.FinalName = FinalName;

            item.TotCopies = TotCopies;

            item.PrTimestamp = PrTimestamp;

            item.Save(UserName);
        }
Пример #2
0
 public bool Destroy(object RequestId)
 {
     return(PriceRequestTemp.Destroy(RequestId) == 1);
 }
Пример #3
0
 public bool Delete(object RequestId)
 {
     return(PriceRequestTemp.Delete(RequestId) == 1);
 }