This documentation is archived and is not being maintained.

MetadataWorkspaceExtensions.ScalarInComplexPropertyVisitorDelegate Delegate

The delegate type that the VisitComplexProperty method uses to allow user-defined control over how scalar properties of a complex type property in the conceptual model are named in the generated storage model.

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

public delegate void ScalarInComplexPropertyVisitorDelegate(
	string namePrefix,
	EdmProperty property
)

Parameters

namePrefix
Type: System.String
The name of the nested CSDL property in a format which concatenates all parent CSDL properties.
property
Type: System.Data.Metadata.Edm.EdmProperty
The nested CSDL Property currently being visited within the complex type of this complex property.
Show: