コード例 #1
0
        /// <summary>
        /// Gets the table associated with the given type, regardless of which model it belongs to.
        /// </summary>
        public static bool TryGetTable(Type entityType, out MetaTable table)
        {
            MetaModel.CheckForRegistrationException();
            if (entityType == null)
            {
                throw new ArgumentNullException("entityType");
            }

            return(System.Web.DynamicData.MetaModel.MetaModelManager.TryGetTable(entityType, out table));
        }