EdmTypeSemantics.ApplyType 方法

返回对此行类型定义的引用。

命名空间:  Microsoft.Data.Edm
程序集:  Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)

语法

声明
<ExtensionAttribute> _
Public Shared Function ApplyType ( _
    rowType As IEdmRowType, _
    isNullable As Boolean _
) As IEdmRowTypeReference
用法
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

参数

  • isNullable
    类型:System.Boolean
    若要指示引用的类型可以为 null,则为 true;否则为 false。

返回值

类型:Microsoft.Data.Edm.IEdmRowTypeReference
对此行类型定义的引用。

用法说明

在 Visual Basic 和 C# 中,您可以对 IEdmRowType 类型的任何对象将此方法作为实例方法调用。在您使用实例方法语法调用此方法时,将忽略第一个参数。有关详细信息,请参阅https://msdn.microsoft.com/zh-cn/library/bb384936(v=vs.103)https://msdn.microsoft.com/zh-cn/library/bb383977(v=vs.103)

请参阅

参考

EdmTypeSemantics 类

Microsoft.Data.Edm 命名空间