Export (0) Print
Expand All

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)

public static void VisitComplexProperty(
	this EdmProperty property,
	MetadataWorkspaceExtensions..::.ScalarInComplexPropertyVisitorDelegate visitorDelegate,
	string delimiter,
	bool recursive


Type: System.Data.Metadata.Edm.EdmProperty

A complex type property.

Type: Microsoft.Data.Entity.Design.DatabaseGeneration.MetadataWorkspaceExtensions.ScalarInComplexPropertyVisitorDelegate

The delegate executed on each scalar property.

Type: System.String

A delimiter used when naming properties of the specified complex type properties.

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 http://msdn.microsoft.com/en-us/library/bb384936(v=vs.103).aspx or http://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).aspx.

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

© 2014 Microsoft