src/EntityFramework/Core/Mapping/FunctionImportReturnTypeEntityTypeColumnsRenameBuilder.cs
// <summary>
// Set the column mappings for each defaultMemberName.
// </summary>
Set the column mappings for each defaultMemberName.
Set the column mappings for each defaultMemberName .
private void SetStructuralTypeColumnsRename(
            EntityType entityType,
            Collection<FunctionImportReturnTypePropertyMapping> columnsRenameMapping,
            bool isTypeOf)
        {
            DebugCheck.NotNull(entityType);
            DebugCheck.NotNull(columnsRenameMapping);
            foreach (var mapping in columnsRenameMapping)
            {
                if (!ColumnRenameMapping.Keys.Contains(mapping.CMember))
                {
                    ColumnRenameMapping[mapping.CMember] = new FunctionImportReturnTypeStructuralTypeColumnRenameMapping(mapping.CMember);
                }
                ColumnRenameMapping[mapping.CMember].AddRename(
                    new FunctionImportReturnTypeStructuralTypeColumn(mapping.SColumn, entityType, isTypeOf, mapping.LineInfo));
            }
        }
private void SetStructuralTypeColumnsRename ( EntityType entityType , Collection < FunctionImportReturnTypePropertyMapping > columnsRenameMapping , bool isTypeOf ) { DebugCheck . NotNull ( entityType ) ; DebugCheck . NotNull ( columnsRenameMapping ) ; foreach ( var mapping in columnsRenameMapping ) { if ( ! ColumnRenameMapping . Keys . Contains ( mapping . CMember ) ) { ColumnRenameMapping [ mapping . CMember ] = new FunctionImportReturnTypeStructuralTypeColumnRenameMapping ( mapping . CMember ) ; } ColumnRenameMapping [ mapping . CMember ] . AddRename ( new FunctionImportReturnTypeStructuralTypeColumn ( mapping . SColumn , entityType , isTypeOf , mapping . LineInfo ) ) ; } }
Set the column mappings for each defaultMemberName.
Set the column mappings for each defaultMemberName .
entityType
EntityType
columnsRenameMapping
Collection<FunctionImportReturnTypePropertyMapping>
isTypeOf
bool