コード例 #1
0
        /// <summary>
        /// Runs a set of fixup operations on the EdmModel:
        ///   * ensures the existence and consistency of the default container
        /// </summary>
        /// <param name="model">The Model to run the fixup operations on.</param>
        /// <returns>The <paramref name="model"/> after having executed all fixup operations.</returns>
        public static EdmModel Fixup(this EdmModel model)
        {
            ExceptionUtilities.CheckArgumentNotNull(model, "model");

            // Apply default fixups
            model.AddDefaultContainerFixup();

            return(model);
        }