Exemple #1
0
 public override bool OnSave(object entity, object id, object[] state, string[] propertyNames, IType[] types)
 {
     if (state[0] == null)
     {
         Image.Detail detail = new Image.Detail();
         detail.Perm1   = checkPerm;
         detail.Comment = checkComment;
         state[0]       = detail;
     }
     return(true);
 }
			public override bool OnSave(object entity, object id, object[] state, string[] propertyNames, IType[] types)
			{
				if (state[0] == null)
				{
					Image.Detail detail = new Image.Detail();
					detail.Perm1 = checkPerm;
					detail.Comment = checkComment;
					state[0] = detail;
				}
				return true;
			}