コード例 #1
0
        public void Insert(string Description, decimal DiscountPct, string Type, string Category, DateTime StartDate, DateTime EndDate, int MinQty, int?MaxQty, Guid Rowguid, DateTime ModifiedDate)
        {
            SpecialOffer item = new SpecialOffer();

            item.Description = Description;

            item.DiscountPct = DiscountPct;

            item.Type = Type;

            item.Category = Category;

            item.StartDate = StartDate;

            item.EndDate = EndDate;

            item.MinQty = MinQty;

            item.MaxQty = MaxQty;

            item.Rowguid = Rowguid;

            item.ModifiedDate = ModifiedDate;


            item.Save(UserName);
        }
コード例 #2
0
 public bool Destroy(object SpecialOfferID)
 {
     return(SpecialOffer.Destroy(SpecialOfferID) == 1);
 }
コード例 #3
0
 public bool Delete(object SpecialOfferID)
 {
     return(SpecialOffer.Delete(SpecialOfferID) == 1);
 }