public bool Update() { JLineSubsidyTable LST = new JLineSubsidyTable(); LST.SetValueProperty(this); return(LST.Update()); }
public int Insert(bool isWeb = false) { if (!JPermission.CheckPermission("BusManagment.LineSubsidy.JLineSubsidy.Insert")) { return(0); } JLineSubsidyTable LST = new JLineSubsidyTable(); LST.SetValueProperty(this); Code = LST.Insert(); ClassLibrary.JHistory jHistory = new ClassLibrary.JHistory(); jHistory.Save("BusManagment.JLineSubsidy", Code, 0, 0, 0, "ثبت LineSubsidy", "", 0); return(Code); }