Share via


EdmProperty.CreateComplex(String, ComplexType) Method

Definition

Creates a new complex property.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public static System.Data.Entity.Core.Metadata.Edm.EdmProperty CreateComplex (string name, System.Data.Entity.Core.Metadata.Edm.ComplexType complexType);
static member CreateComplex : string * System.Data.Entity.Core.Metadata.Edm.ComplexType -> System.Data.Entity.Core.Metadata.Edm.EdmProperty

Parameters

name
String

The name of the property.

complexType
ComplexType

The type of the property.

Returns

The newly created property.

Attributes

Applies to