MetadataWorkspaceExtensions.ScalarInComplexPropertyVisitorDelegate Delegate

[This page is specific to the Entity Framework version 6.0 Beta. The latest version is available as the 'Entity Framework' NuGet package. For more information, see Entity Framework Releases and Versioning.]

A delegate type that is used by the VisitComplexProperty method to allow user-defined control over how CSDL scalar properties within CSDL complex properties are named in the SSDL

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

Syntax

'Declaration
Public Delegate Sub ScalarInComplexPropertyVisitorDelegate ( _
    namePrefix As String, _
    property As EdmProperty _
)
'Usage
Dim instance As New ScalarInComplexPropertyVisitorDelegate(AddressOf HandlerMethod)
public delegate void ScalarInComplexPropertyVisitorDelegate(
    string namePrefix,
    EdmProperty property
)
public delegate void ScalarInComplexPropertyVisitorDelegate(
    String^ namePrefix, 
    EdmProperty^ property
)
type ScalarInComplexPropertyVisitorDelegate = 
    delegate of  
        namePrefix:string * 
        property:EdmProperty -> unit
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

See Also

Reference

Microsoft.Data.Entity.Design.DatabaseGeneration Namespace