public void Insert(Guid Guid, short EnumX, string Lookup, string Description, string LongDescription) { var item = new StudyHistoryTypeEnum(); item.Guid = Guid; item.EnumX = EnumX; item.Lookup = Lookup; item.Description = Description; item.LongDescription = LongDescription; item.Save(UserName); }
public void Update(Guid Guid, short EnumX, string Lookup, string Description, string LongDescription) { var item = new StudyHistoryTypeEnum(); item.MarkOld(); item.IsLoaded = true; item.Guid = Guid; item.EnumX = EnumX; item.Lookup = Lookup; item.Description = Description; item.LongDescription = LongDescription; item.Save(UserName); }