CodeHelper.Type Method

 

Specifies the type of the specified object.

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

Overload List

Name Description
System_CAPS_pubmethod Type(EdmProperty)

Specifies the type of the specified property.

System_CAPS_pubmethod Type(EdmType)

Specifies the type identifier for the specified type.

System_CAPS_pubmethod Type(EntityContainer)

Specifies the type identifier for the specified container.

System_CAPS_pubmethod Type(NavigationProperty)

Specifies the type of the specified navigation property.

See Also

CodeHelper Class
Microsoft.Data.Entity.Design.CodeGeneration Namespace

Return to top

CodeHelper.Type Method (EdmProperty)

Specifies the type of the specified property.

Syntax

public string Type(
    EdmProperty property
)
public:
String^ Type(
    EdmProperty^ property
)
member Type : 
        property:EdmProperty -> string
Public Function Type (
    property As EdmProperty
) As String

Parameters

Return Value

Type: System.String

The type.

Return to top

CodeHelper.Type Method (EdmType)

Specifies the type identifier for the specified type.

Syntax

public string Type(
    EdmType edmType
)
public:
String^ Type(
    EdmType^ edmType
)
member Type : 
        edmType:EdmType -> string
Public Function Type (
    edmType As EdmType
) As String

Parameters

Return Value

Type: System.String

The identifier.

Return to top

CodeHelper.Type Method (EntityContainer)

Specifies the type identifier for the specified container.

Syntax

public string Type(
    EntityContainer container
)
public:
String^ Type(
    EntityContainer^ container
)
member Type : 
        container:EntityContainer -> string
Public Function Type (
    container As EntityContainer
) As String

Parameters

Return Value

Type: System.String

The identifier.

Return to top

CodeHelper.Type Method (NavigationProperty)

Specifies the type of the specified navigation property.

Syntax

public string Type(
    NavigationProperty navigationProperty
)
public:
String^ Type(
    NavigationProperty^ navigationProperty
)
member Type : 
        navigationProperty:NavigationProperty -> string
Public Function Type (
    navigationProperty As NavigationProperty
) As String

Parameters

Return Value

Type: System.String

The type.

Return to top