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
)

Parameters

property
Type: System.Data.Metadata.Edm.EdmProperty

A complex type property.

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

The delegate executed on each scalar property.

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 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.

Show:
© 2014 Microsoft