Bagikan melalui


EdmTypeSemantics.ApplyType Method

Returns a reference to this row type definition.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ApplyType ( _
    rowType As IEdmRowType, _
    isNullable As Boolean _
) As IEdmRowTypeReference
'Usage
Dim rowType As IEdmRowType 
Dim isNullable As Boolean 
Dim returnValue As IEdmRowTypeReference 

returnValue = rowType.ApplyType(isNullable)
public static IEdmRowTypeReference ApplyType(
    this IEdmRowType rowType,
    bool isNullable
)
[ExtensionAttribute]
public:
static IEdmRowTypeReference^ ApplyType(
    IEdmRowType^ rowType, 
    bool isNullable
)
static member ApplyType : 
        rowType:IEdmRowType * 
        isNullable:bool -> IEdmRowTypeReference
public static function ApplyType(
    rowType : IEdmRowType, 
    isNullable : boolean
) : IEdmRowTypeReference

Parameters

  • isNullable
    Type: System.Boolean
    true to indicate that the referenced type should be nullable; otherwise, false.

Return Value

Type: Microsoft.Data.Edm.IEdmRowTypeReference
A reference to this row type definition.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmRowType. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

EdmTypeSemantics Class

Microsoft.Data.Edm Namespace