DataDictionary.Generated.Dictionary.appendSpecifications C# (CSharp) Method

appendSpecifications() public method

public appendSpecifications ( Lock aLock, Specification el ) : void
aLock Lock
el Specification
return void
        public void appendSpecifications(Lock aLock,Specification el)
        {
            __setDirty(true);
              el.__setDirty(true);
              allSpecifications().Add(el);
              acceptor.connectSon (this, el);
            NotifyControllers(aLock);
        }

Same methods

Dictionary::appendSpecifications ( Specification el ) : void
Dictionary::appendSpecifications ( System coll ) : void
Dictionary::appendSpecifications ( System coll, Lock aLock ) : void

Usage Example

        /// <summary>
        ///     Creates an update of this specification in the provided dictionary
        /// </summary>
        /// <param name="dictionary">The update dictionary</param>
        /// <returns>An update of this specification</returns>
        public Specification CreateSpecificationUpdate(Dictionary dictionary)
        {
            Specification retVal = new Specification();
            retVal.Name = Name;
            retVal.setUpdates(Guid);

            dictionary.appendSpecifications(retVal);

            return retVal;
        }