Condividi tramite


Metodo EdmProperty.CreateComplex

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Crea una nuova proprietà complessa.

Spazio dei nomi:  System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")> _
Public Shared Function CreateComplex ( _
    name As String, _
    complexType As ComplexType _
) As EdmProperty
'Utilizzo
Dim name As String 
Dim complexType As ComplexType 
Dim returnValue As EdmProperty 

returnValue = EdmProperty.CreateComplex(name, _
    complexType)
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public static EdmProperty CreateComplex(
    string name,
    ComplexType complexType
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1011:ConsiderPassingBaseTypesAsParameters")]
public:
static EdmProperty^ CreateComplex(
    String^ name, 
    ComplexType^ complexType
)
[<SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")>]
static member CreateComplex : 
        name:string * 
        complexType:ComplexType -> EdmProperty
public static function CreateComplex(
    name : String, 
    complexType : ComplexType
) : EdmProperty

Parametri

Valore restituito

Tipo: System.Data.Entity.Core.Metadata.Edm.EdmProperty
Proprietà appena creata.

Vedere anche

Riferimento

EdmProperty Classe

Spazio dei nomi System.Data.Entity.Core.Metadata.Edm