共用方式為


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 命名空間