EdmEntityType 构造函数 (String, String, IEdmEntityType, Boolean, Boolean)

初始化 EdmEntityType 类的新实例。

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

语法

声明
Public Sub New ( _
    namespaceName As String, _
    name As String, _
    baseType As IEdmEntityType, _
    isAbstract As Boolean, _
    isOpen As Boolean _
)
用法
Dim namespaceName As String
Dim name As String
Dim baseType As IEdmEntityType
Dim isAbstract As Boolean
Dim isOpen As Boolean

Dim instance As New EdmEntityType(namespaceName, _
    name, baseType, isAbstract, isOpen)
public EdmEntityType(
    string namespaceName,
    string name,
    IEdmEntityType baseType,
    bool isAbstract,
    bool isOpen
)
public:
EdmEntityType(
    String^ namespaceName, 
    String^ name, 
    IEdmEntityType^ baseType, 
    bool isAbstract, 
    bool isOpen
)
new : 
        namespaceName:string * 
        name:string * 
        baseType:IEdmEntityType * 
        isAbstract:bool * 
        isOpen:bool -> EdmEntityType
public function EdmEntityType(
    namespaceName : String, 
    name : String, 
    baseType : IEdmEntityType, 
    isAbstract : boolean, 
    isOpen : boolean
)

参数

  • namespaceName
    类型:System.String
    实体所属的命名空间。
  • isAbstract
    类型:System.Boolean
    若要指示不能实例化的实体,则为 true;否则为 false。
  • isOpen
    类型:System.Boolean
    若要指示该类型是开放类型,则为 true;否则为 false。

请参阅

参考

EdmEntityType 类

EdmEntityType 重载

Microsoft.Data.Edm.Library 命名空间