FunctionImportMappingComposable 建構函式
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
初始化新的 FunctionImportMappingComposable 執行個體。
命名空間: System.Data.Entity.Core.Mapping
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Sub New ( _
functionImport As EdmFunction, _
targetFunction As EdmFunction, _
resultMapping As FunctionImportResultMapping, _
containerMapping As EntityContainerMapping _
)
'用途
Dim functionImport As EdmFunction
Dim targetFunction As EdmFunction
Dim resultMapping As FunctionImportResultMapping
Dim containerMapping As EntityContainerMapping
Dim instance As New FunctionImportMappingComposable(functionImport, _
targetFunction, resultMapping, containerMapping)
public FunctionImportMappingComposable(
EdmFunction functionImport,
EdmFunction targetFunction,
FunctionImportResultMapping resultMapping,
EntityContainerMapping containerMapping
)
public:
FunctionImportMappingComposable(
EdmFunction^ functionImport,
EdmFunction^ targetFunction,
FunctionImportResultMapping^ resultMapping,
EntityContainerMapping^ containerMapping
)
new :
functionImport:EdmFunction *
targetFunction:EdmFunction *
resultMapping:FunctionImportResultMapping *
containerMapping:EntityContainerMapping -> FunctionImportMappingComposable
public function FunctionImportMappingComposable(
functionImport : EdmFunction,
targetFunction : EdmFunction,
resultMapping : FunctionImportResultMapping,
containerMapping : EntityContainerMapping
)
參數
- functionImport
類型:System.Data.Entity.Core.Metadata.Edm.EdmFunction
模型函式匯入。
- targetFunction
類型:System.Data.Entity.Core.Metadata.Edm.EdmFunction
存放區可組合函式。
- resultMapping
類型:System.Data.Entity.Core.Mapping.FunctionImportResultMapping
函式匯入的結果對應。
- containerMapping
類型:System.Data.Entity.Core.Mapping.EntityContainerMapping
父容器對應。