public override void UpdateStatus()
        {
            Discount_Master_Property objDiscountMasterPropertyNew = new Discount_Master_Property();

            objDiscountMasterPropertyNew.ID            = base.Id;
            objDiscountMasterPropertyNew.Status        = base.Status;
            objDiscountMasterPropertyNew.Is_Active     = false;
            objDiscountMasterPropertyNew.Active_Status = "0";
            objDiscountMasterPropertyNew.TableName     = objDiscountMasterProperty.TableName;
            objDiscountMasterPropertyNew.Operated_By   = objDiscountMasterProperty.Operated_By;

            //if (objTransactionMasterPropertyNew.Status != null)
            //{
            objDiscountMasterDAL = new Discount_Master_DAL(objDiscountMasterPropertyNew);
            objDiscountMasterDAL.UpdateStatus();
        }
 public DataTable SelectPrevious_TradeOffer(int DistributorID)
 {
     objDiscountMasterDAL = new Discount_Master_DAL(objDiscountMasterProperty);
     return(objDiscountMasterDAL.SelectPrevious_TradeOffer(DistributorID));
 }
 public bool Update()
 {
     objDiscountMasterDAL = new Discount_Master_DAL(objDiscountMasterProperty);
     return(objDiscountMasterDAL.Update());
 }
 public DataSet SelectDiscountMasteAndSlabDetailByDiscountID()
 {
     objDiscountMasterDAL = new Discount_Master_DAL(objDiscountMasterProperty);
     return(objDiscountMasterDAL.SelectAllByID());
 }
 public DataTable ViewAll()
 {
     objDiscountMasterDAL = new Discount_Master_DAL(objDiscountMasterProperty);
     return(objDiscountMasterDAL.SelectAll());
 }
 public bool Add()
 {
     objDiscountMasterDAL = new Discount_Master_DAL(objDiscountMasterProperty);
     return(objDiscountMasterDAL.Insert());
 }