/// <summary>
        ///		Creates a new instance of a ATTACHMENT.
        /// </summary>
        /// <returns>The new ATTACHMENT instance. </returns>
        public static Entities.ATTACHMENT Factory()
        {
            OnCreating();
            Entities.ATTACHMENT aTTACHMENT = new Entities.ATTACHMENT();
            OnCreated(aTTACHMENT);

            return(aTTACHMENT);
        }
 //	This partial method gives us a way to access an object after it has been added to the system.
 static partial void OnCreated(Entities.ATTACHMENT aTTACHMENT);