FunctionImportComplexTypeMapping Constructor (ComplexType, Collection<FunctionImportReturnTypePropertyMapping>)

 

Initializes a new FunctionImportComplexTypeMapping instance.

Namespace:   System.Data.Entity.Core.Mapping
Assembly:  EntityFramework (in EntityFramework.dll)

public FunctionImportComplexTypeMapping(
	ComplexType returnType,
	Collection<FunctionImportReturnTypePropertyMapping> properties
)

Parameters

returnType
Type: System.Data.Entity.Core.Metadata.Edm.ComplexType

The return type.

properties
Type: System.Collections.ObjectModel.Collection<FunctionImportReturnTypePropertyMapping>

The property mappings for the result type of a function import.