public void Insert(int?ManLevel, int?ManManId, string ManTitle, int?ManStatus, int ManOrder, Guid TgwId) { HitblMainMan item = new HitblMainMan(); item.ManLevel = ManLevel; item.ManManId = ManManId; item.ManTitle = ManTitle; item.ManStatus = ManStatus; item.ManOrder = ManOrder; item.TgwId = TgwId; item.Save(UserName); }
public void Update(int ManId, int?ManLevel, int?ManManId, string ManTitle, int?ManStatus, int ManOrder, Guid TgwId) { HitblMainMan item = new HitblMainMan(); item.MarkOld(); item.IsLoaded = true; item.ManId = ManId; item.ManLevel = ManLevel; item.ManManId = ManManId; item.ManTitle = ManTitle; item.ManStatus = ManStatus; item.ManOrder = ManOrder; item.TgwId = TgwId; item.Save(UserName); }