StructuralType.AddMember 方法
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
將成員加入至此類型
命名空間: System.Data.Entity.Core.Metadata.Edm
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Sub AddMember ( _
member As EdmMember _
)
'用途
Dim instance As StructuralType
Dim member As EdmMember
instance.AddMember(member)
public void AddMember(
EdmMember member
)
public:
void AddMember(
EdmMember^ member
)
member AddMember :
member:EdmMember -> unit
public function AddMember(
member : EdmMember
)
參數
- member
類型:System.Data.Entity.Core.Metadata.Edm.EdmMember
要加入的成員