src/Shared/EntityFramework/Core/Mapping/FunctionImportMappingNonComposable.cs
// <summary>
// If no return mappings were specified in the MSL return an empty return type mapping knowledge base.
// Otherwise return the resultSetIndexth return type mapping knowledge base, or throw if resultSetIndex is out of range
// </summary>
If no return mappings were specified in the MSL return an empty return type mapping knowledge base.
Otherwise return the resultSetIndexth return type mapping knowledge base, or throw if resultSetIndex is out of range
If no return mappings were specified in the MSL return an empty return type mapping knowledge base . Otherwise return the resultSetIndexth return type mapping knowledge base or throw if resultSetIndex is out of range
internal FunctionImportStructuralTypeMappingKB GetResultMapping(int resultSetIndex)
        {
            Debug.Assert(resultSetIndex >= 0, "resultSetIndex >= 0");
            if (noExplicitResultMappings)
            {
                Debug.Assert(InternalResultMappings.Count == 1, "this.InternalResultMappings.Count == 1");
                return InternalResultMappings[0];
            }
            else
            {
                if (InternalResultMappings.Count <= resultSetIndex)
                {
                    throw new ArgumentOutOfRangeException("resultSetIndex");
                }
                return InternalResultMappings[resultSetIndex];
            }
        }
internal FunctionImportStructuralTypeMappingKB GetResultMapping ( int resultSetIndex ) { Debug . Assert ( resultSetIndex >= 0 , " " ) ; if ( noExplicitResultMappings ) { Debug . Assert ( InternalResultMappings . Count == 1 , " " ) ; return InternalResultMappings [ 0 ] ; } else { if ( InternalResultMappings . Count <= resultSetIndex ) { throw new ArgumentOutOfRangeException ( " " ) ; } return InternalResultMappings [ resultSetIndex ] ; } }
If no return mappings were specified in the MSL return an empty return type mapping knowledge base.
If no return mappings were specified in the MSL return an empty return type mapping knowledge base .
resultSetIndex
int