public void Insert(Guid Guid, short EnumX, string Lookup, string Description, string LongDescription) { var item = new StudyIntegrityReasonEnum(); 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 StudyIntegrityReasonEnum(); item.MarkOld(); item.IsLoaded = true; item.Guid = Guid; item.EnumX = EnumX; item.Lookup = Lookup; item.Description = Description; item.LongDescription = LongDescription; item.Save(UserName); }