コード例 #1
0
        /// <summary>
        ///		Creates a new instance of a WarrantyCard.
        /// </summary>
        /// <returns>The new WarrantyCard instance. </returns>
        public static Entities.WarrantyCard Factory()
        {
            OnCreating();
            Entities.WarrantyCard warrantyCard = new Entities.WarrantyCard();
            OnCreated(warrantyCard);

            return(warrantyCard);
        }
コード例 #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.WarrantyCard warrantyCard);