src/Shared/EntityFramework/Core/SchemaObjectModel/SchemaManager.cs
// <summary>
// Resolve the type - if the type is not found, return appropriate error
// </summary>
Resolve the type - if the type is not found, return appropriate error
Resolve the type - if the type is not found return appropriate error
public bool TryResolveType(string namespaceName, string typeName, out SchemaType schemaType)
        {
            var fullyQualifiedName = String.IsNullOrEmpty(namespaceName) ? typeName : namespaceName + "." + typeName;
            schemaType = SchemaTypes.LookUpEquivalentKey(fullyQualifiedName);
            if (schemaType != null)
            {
                return true;
            }
            return false;
        }
public bool TryResolveType ( string namespaceName , string typeName , out SchemaType schemaType ) { var fullyQualifiedName = String . IsNullOrEmpty ( namespaceName ) ? typeName : namespaceName + " " + typeName ; schemaType = SchemaTypes . LookUpEquivalentKey ( fullyQualifiedName ) ; if ( schemaType != null ) { return true ; } return false ; }
Resolve the type - if the type is not found, return appropriate error
Resolve the type - if the type is not found return appropriate error
// For resolving entity container names, namespace can be null
namespaceName
string
typeName
string
SchemaType
out