src/Shared/EntityFramework/Core/Mapping/Update/Internal/ViewLoader.cs
// <summary>
// Gets all model properties mapped to server generated columns.
// </summary>
Gets all model properties mapped to server generated columns.
Gets all model properties mapped to server generated columns .
private static IEnumerable<EdmMember> FindServerGenMembers(MappingFragment mappingFragment)
        {
            foreach (var scalarPropertyMapping in FlattenPropertyMappings(mappingFragment.AllProperties)
                .OfType<ScalarPropertyMapping>())
            {
                if (StoreGeneratedPattern.None
                    != MetadataHelper.GetStoreGeneratedPattern(scalarPropertyMapping.Column))
                {
                    yield return scalarPropertyMapping.Property;
                }
            }
        }
private static IEnumerable < EdmMember > FindServerGenMembers ( MappingFragment mappingFragment ) { foreach ( var scalarPropertyMapping in FlattenPropertyMappings ( mappingFragment . AllProperties ) . OfType < ScalarPropertyMapping > ( ) ) { if ( StoreGeneratedPattern . None != MetadataHelper . GetStoreGeneratedPattern ( scalarPropertyMapping . Column ) ) { yield return scalarPropertyMapping . Property ; } } }
Gets all model properties mapped to server generated columns.
Gets all model properties mapped to server generated columns .
mappingFragment
MappingFragment