EdmProperty.CreateComplex Method (String, ComplexType)

 

Creates a new complex property.

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public static EdmProperty CreateComplex(
	string name,
	ComplexType complexType
)

Parameters

name
Type: System.String

The name of the property.

complexType
Type: System.Data.Entity.Core.Metadata.Edm.ComplexType

The type of the property.

Return Value

Type: System.Data.Entity.Core.Metadata.Edm.EdmProperty

The newly created property.