FunctionImportComplexTypeMapping 建構函式
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
初始化新的 FunctionImportComplexTypeMapping 執行個體。
命名空間: System.Data.Entity.Core.Mapping
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Sub New ( _
returnType As ComplexType, _
properties As Collection(Of FunctionImportReturnTypePropertyMapping) _
)
'用途
Dim returnType As ComplexType
Dim properties As Collection(Of FunctionImportReturnTypePropertyMapping)
Dim instance As New FunctionImportComplexTypeMapping(returnType, _
properties)
public FunctionImportComplexTypeMapping(
ComplexType returnType,
Collection<FunctionImportReturnTypePropertyMapping> properties
)
public:
FunctionImportComplexTypeMapping(
ComplexType^ returnType,
Collection<FunctionImportReturnTypePropertyMapping^>^ properties
)
new :
returnType:ComplexType *
properties:Collection<FunctionImportReturnTypePropertyMapping> -> FunctionImportComplexTypeMapping
public function FunctionImportComplexTypeMapping(
returnType : ComplexType,
properties : Collection<FunctionImportReturnTypePropertyMapping>
)
參數
- returnType
類型:System.Data.Entity.Core.Metadata.Edm.ComplexType
傳回類型。
- properties
類型:System.Collections.ObjectModel.Collection<FunctionImportReturnTypePropertyMapping>
函式匯入之結果類型的屬性對應。