CodeHelper.Type Method (NavigationProperty)

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Specifies the type of the specified navigation property.

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

Syntax

'Declaration
Public Function Type ( _
    navigationProperty As NavigationProperty _
) As String
'Usage
Dim instance As CodeHelper 
Dim navigationProperty As NavigationProperty 
Dim returnValue As String 

returnValue = instance.Type(navigationProperty)
public string Type(
    NavigationProperty navigationProperty
)
public:
String^ Type(
    NavigationProperty^ navigationProperty
)
member Type : 
        navigationProperty:NavigationProperty -> string
public function Type(
    navigationProperty : NavigationProperty
) : String

Parameters

Return Value

Type: System.String
The type.

See Also

Reference

CodeHelper Class

Type Overload

Microsoft.Data.Entity.Design.CodeGeneration Namespace