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)
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
)
JScript does not support delegates.
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.
See Also
Reference
Microsoft.Data.Entity.Design.DatabaseGeneration Namespace