Пример #1
0
        /// <summary>
        ///		Creates a new instance of a ImageType.
        /// </summary>
        /// <returns>The new ImageType instance. </returns>
        public static Entities.ImageType Factory()
        {
            OnCreating();
            Entities.ImageType imageType = new Entities.ImageType();
            OnCreated(imageType);

            return(imageType);
        }
Пример #2
0
 //	This partial method gives us a way to access an object after it has been added to the system.
 static partial void OnCreated(Entities.ImageType imageType);