src/Shared/EntityFramework/Core/SchemaObjectModel/EntityContainerEntitySet.cs
// <summary>
// Used during the resolve phase to resolve the type name to the object that represents that type
// </summary>
Used during the resolve phase to resolve the type name to the object that represents that type
Used during the resolve phase to resolve the type name to the object that represents that type
internal override void ResolveTopLevelNames()
        {
            base.ResolveTopLevelNames();
            if (_entityType == null)
            {
                SchemaType type = null;
                if (! Schema.ResolveTypeName(this, _unresolvedEntityTypeName, out type))
                {
                    return;
                }
                _entityType = type as SchemaEntityType;
                if (_entityType == null)
                {
                    AddError(
                        ErrorCode.InvalidPropertyType, EdmSchemaErrorSeverity.Error,
                        Strings.InvalidEntitySetType(_unresolvedEntityTypeName));
                    return;
                }
            }
        }
internal override void ResolveTopLevelNames ( ) { base . ResolveTopLevelNames ( ) ; if ( _entityType == null ) { SchemaType type = null ; if ( ! Schema . ResolveTypeName ( this , _unresolvedEntityTypeName , out type ) ) { return ; } _entityType = type as SchemaEntityType ; if ( _entityType == null ) { AddError ( ErrorCode . InvalidPropertyType , EdmSchemaErrorSeverity . Error , Strings . InvalidEntitySetType ( _unresolvedEntityTypeName ) ) ; return ; } } }
Used during the resolve phase to resolve the type name to the object that represents that type
Used during the resolve phase to resolve the type name to the object that represents that type