public override void UpdateStatus() { Suppliers_Property objsupplierpropertynew = new Suppliers_Property(); objsupplierpropertynew.Supplier_Id = base.Id; objsupplierpropertynew.Status = base.Status; objsupplierpropertynew.TableName = ObjSuppliersProperty.TableName; objsupplierpropertynew.Operated_By = ObjSuppliersProperty.Operated_By; ObjSuppliersDAL = new Supplier_DAL(objsupplierpropertynew); ObjSuppliersDAL.UpdateStatus(); }
public bool UpdateStatus(Suppliers_Property objsupplier) { Suppliers_Property objsupplierpropertynew = new Suppliers_Property(); objsupplierpropertynew.Supplier_Id = objsupplier.Supplier_Id; objsupplierpropertynew.Status = base.Status; objsupplierpropertynew.TableName = ObjSuppliersProperty.TableName; objsupplierpropertynew.Operated_By = ObjSuppliersProperty.Operated_By; ObjSuppliersDAL = new Supplier_DAL(objsupplierpropertynew); return(ObjSuppliersDAL.UpdateStatus()); }