public void Insert(string SName, string SDesc, short IntSTT) { TblServiceType item = new TblServiceType(); item.SName = SName; item.SDesc = SDesc; item.IntSTT = IntSTT; item.Save(UserName); }
public void Update(short Id, string SName, string SDesc, short IntSTT) { TblServiceType item = new TblServiceType(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.SName = SName; item.SDesc = SDesc; item.IntSTT = IntSTT; item.Save(UserName); }