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