Esempio n. 1
0
        public override FieldValue Clone()
        {
            LookupValue clone = (LookupValue)base.Clone();

            clone.LookupCriteria = new BindingList <Core.LookupCriteria>();

            foreach (LookupCriteria criteria in LookupCriteria)
            {
                clone.LookupCriteria.Add(criteria.Clone());
            }

            return(clone);
        }
 /// <summary>
 /// Initialises a new instance of the DuplicateLookupValueException class with the specified message and lookup.
 /// </summary>
 /// <param name="message">The message.</param>
 /// <param name="lookup">The LookupValue.</param>
 public DuplicateLookupValueException(string message, LookupValue lookup) : base(message)
 {
     Lookup = lookup;
 }
Esempio n. 3
0
 public MissingLookupValueException(string message, LookupValue lookupValue) : base(message)
 {
     LookupValue = lookupValue;
 }