/// <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); }
// 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);