MetadataWorkspaceExtensions.VisitComplexProperty Method

Executes the MetadataWorkspaceExtensions.ScalarInComplexPropertyVisitorDelegate on each scalar property of the specified complex type property.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub VisitComplexProperty ( _
    property As EdmProperty, _
    visitorDelegate As MetadataWorkspaceExtensions..::..ScalarInComplexPropertyVisitorDelegate, _
    delimiter As String, _
    recursive As Boolean _
)
'Usage
Dim property As EdmProperty
Dim visitorDelegate As MetadataWorkspaceExtensions..::..ScalarInComplexPropertyVisitorDelegate
Dim delimiter As String
Dim recursive As Boolean

property.VisitComplexProperty(visitorDelegate, _
    delimiter, recursive)
public static void VisitComplexProperty(
    this EdmProperty property,
    MetadataWorkspaceExtensions..::..ScalarInComplexPropertyVisitorDelegate visitorDelegate,
    string delimiter,
    bool recursive
)
[ExtensionAttribute]
public:
static void VisitComplexProperty(
    EdmProperty^ property, 
    MetadataWorkspaceExtensions..::..ScalarInComplexPropertyVisitorDelegate^ visitorDelegate, 
    String^ delimiter, 
    bool recursive
)
public static function VisitComplexProperty(
    property : EdmProperty, 
    visitorDelegate : MetadataWorkspaceExtensions..::..ScalarInComplexPropertyVisitorDelegate, 
    delimiter : String, 
    recursive : boolean
)

Parameters

  • delimiter
    Type: System.String
    A delimiter used when naming properties of the specified complex type properties.
  • recursive
    Type: System.Boolean
    Specifies whether the VisitComplexProperty() method should be called on nested complex type properties within the specified complex type.

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 Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

The VisitComplexProperty() method is used by the Generate Database Wizard when generating a database from a conceptual model.

Permissions

See Also

Reference

MetadataWorkspaceExtensions Class

MetadataWorkspaceExtensions Members

Microsoft.Data.Entity.Design.DatabaseGeneration Namespace

Other Resources

How to: Generate a Database from a Conceptual Model (Entity Data Model Tools)

Windows Workflow Foundation