Compartilhar via


EdmEntityObject Constructor

 

Namespace:   System.Web.Http.OData
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Overload List

Name Description
System_CAPS_pubmethod EdmEntityObject(IEdmEntityType)

Initializes a new instance of the EdmStructuredObject class.

System_CAPS_pubmethod EdmEntityObject(IEdmEntityType, Boolean)

Initializes a new instance of the EdmStructuredObject class.

System_CAPS_pubmethod EdmEntityObject(IEdmEntityTypeReference)

Initializes a new instance of the EdmStructuredObject class.

See Also

EdmEntityObject Class
System.Web.Http.OData Namespace

Return to top

EdmEntityObject Constructor (IEdmEntityType)

Initializes a new instance of the EdmStructuredObject class.

Syntax

public EdmEntityObject(
    IEdmEntityType edmType
)
public:
EdmEntityObject(
    IEdmEntityType^ edmType
)
new : 
        edmType:IEdmEntityType -> EdmEntityObject
Public Sub New (
    edmType As IEdmEntityType
)

Parameters

Return to top

EdmEntityObject Constructor (IEdmEntityType, Boolean)

Initializes a new instance of the EdmStructuredObject class.

Syntax

public EdmEntityObject(
    IEdmEntityType edmType,
    bool isNullable
)
public:
EdmEntityObject(
    IEdmEntityType^ edmType,
    bool isNullable
)
new : 
        edmType:IEdmEntityType *
        isNullable:bool -> EdmEntityObject
Public Sub New (
    edmType As IEdmEntityType,
    isNullable As Boolean
)

Parameters

  • isNullable
    Type: System.Boolean

    true if this object can be nullable; otherwise, false.

Return to top

EdmEntityObject Constructor (IEdmEntityTypeReference)

Initializes a new instance of the EdmStructuredObject class.

Syntax

public EdmEntityObject(
    IEdmEntityTypeReference edmType
)
public:
EdmEntityObject(
    IEdmEntityTypeReference^ edmType
)
new : 
        edmType:IEdmEntityTypeReference -> EdmEntityObject
Public Sub New (
    edmType As IEdmEntityTypeReference
)

Parameters

Return to top