src/Shared/EntityFramework/Core/Metadata/Edm/MetadataItem_Static.cs
// <summary>
// Add properties for all the build in complex type
// </summary>
// <param name="builtInTypeKind"> The type of the built In type whose properties are being added </param>
// <param name="properties"> properties of the built in type </param>
Add properties for all the build in complex type
Add properties for all the build in complex type
private static void AddBuiltInTypeProperties(BuiltInTypeKind builtInTypeKind, EdmProperty[] properties)
        {
            var complexType = (ComplexType)GetBuiltInType(builtInTypeKind);
            if (properties != null)
            {
                for (var i = 0; i < properties.Length; i++)
                {
                    complexType.AddMember(properties[i]);
                }
            }
        }
private static void AddBuiltInTypeProperties ( BuiltInTypeKind builtInTypeKind , EdmProperty [ ] properties ) { var complexType = ( ComplexType ) GetBuiltInType ( builtInTypeKind ) ; if ( properties != null ) { for ( var i = 0 ; i < properties . Length ; i ++ ) { complexType . AddMember ( properties [ i ] ) ; } } }
Add properties for all the build in complex type
Add properties for all the build in complex type
builtInTypeKind
BuiltInTypeKind
The type of the built In type whose properties are being added
The type of the built In type whose properties are being added
properties
EdmProperty[]
properties of the built in type
properties of the built in type