MetadataWorkspaceExtensions.IsComplexProperty Method

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Determines if this property is a ComplexProperty; that is, its type is a ComplexType

Namespace:  Microsoft.Data.Entity.Design.DatabaseGeneration
Assembly:  Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification := "This is an extension class.")> _
<ExtensionAttribute> _
Public Shared Function IsComplexProperty ( _
    property As EdmProperty _
) As Boolean
'Usage
Dim property As EdmProperty 
Dim returnValue As Boolean 

returnValue = property.IsComplexProperty()
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "This is an extension class.")]
public static bool IsComplexProperty(
    this EdmProperty property
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1011:ConsiderPassingBaseTypesAsParameters", Justification = L"This is an extension class.")]
[ExtensionAttribute]
public:
static bool IsComplexProperty(
    EdmProperty^ property
)
[<SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "This is an extension class.")>]
static member IsComplexProperty : 
        property:EdmProperty -> bool
public static function IsComplexProperty(
    property : EdmProperty
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the property is a complex property; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type EdmProperty. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).

See Also

Reference

MetadataWorkspaceExtensions Class

Microsoft.Data.Entity.Design.DatabaseGeneration Namespace