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 | |
---|---|---|
Type(EdmProperty) | Specifies the type of the specified property. |
|
Type(EdmType) | Specifies the type identifier for the specified type. |
|
Type(EntityContainer) | Specifies the type identifier for the specified container. |
|
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
property
Type: System.Data.Entity.Core.Metadata.Edm.EdmPropertyThe property.
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
edmType
Type: System.Data.Entity.Core.Metadata.Edm.EdmTypeThe type.
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
container
Type: System.Data.Entity.Core.Metadata.Edm.EntityContainerThe container.
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
navigationProperty
Type: System.Data.Entity.Core.Metadata.Edm.NavigationPropertyThe navigation property.
Return Value
Type: System.String
The type.
Return to top