src/Shared/EntityFramework/Core/Metadata/Edm/ObjectItemCollection.cs
// <summary>
// Get the OSpace type given the CSpace typename
// </summary>
Get the OSpace type given the CSpace typename
Get the OSpace type given the CSpace typename
internal bool TryGetOSpaceType(EdmType cspaceType, out EdmType edmType)
        {
            Debug.Assert(DataSpace.CSpace == cspaceType.DataSpace, "DataSpace should be CSpace");
            if (Helper.IsEntityType(cspaceType)
                || Helper.IsComplexType(cspaceType)
                || Helper.IsEnumType(cspaceType))
            {
                return _ocMapping.TryGetValue(cspaceType.Identity, out edmType);
            }
            return TryGetItem(cspaceType.Identity, out edmType);
        }
internal bool TryGetOSpaceType ( EdmType cspaceType , out EdmType edmType ) { Debug . Assert ( DataSpace . CSpace == cspaceType . DataSpace , " " ) ; if ( Helper . IsEntityType ( cspaceType ) || Helper . IsComplexType ( cspaceType ) || Helper . IsEnumType ( cspaceType ) ) { return _ocMapping . TryGetValue ( cspaceType . Identity , out edmType ) ; } return TryGetItem ( cspaceType . Identity , out edmType ) ; }
Get the OSpace type given the CSpace typename
Get the OSpace type given the CSpace typename
// check if there is an entity, complex type or enum type mapping with this name
cspaceType
EdmType
EdmType
out