public void Update(long Id, string FpSBranchID, string SName, string SDataType, string SValue, int IMonth, int IYear, short IStatus, string SDesc) { var item = new TblSystemParameter(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.FpSBranchID = FpSBranchID; item.SName = SName; item.SDataType = SDataType; item.SValue = SValue; item.IMonth = IMonth; item.IYear = IYear; item.IStatus = IStatus; item.SDesc = SDesc; item.Save(UserName); }
public void Insert(string FpSBranchID, string SName, string SDataType, string SValue, int IMonth, int IYear, short IStatus, string SDesc) { var item = new TblSystemParameter(); item.FpSBranchID = FpSBranchID; item.SName = SName; item.SDataType = SDataType; item.SValue = SValue; item.IMonth = IMonth; item.IYear = IYear; item.IStatus = IStatus; item.SDesc = SDesc; item.Save(UserName); }
public bool Destroy(object Id) { return(TblSystemParameter.Destroy(Id) == 1); }
public bool Delete(object Id) { return(TblSystemParameter.Delete(Id) == 1); }