TypeUsage.Create Method (EdmType, IEnumerable<Facet>)

 

Factory method for creating a TypeUsage with specified EdmType and facets

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

public static TypeUsage Create(
	EdmType edmType,
	IEnumerable<Facet> facets
)

Parameters

edmType
Type: System.Data.Entity.Core.Metadata.Edm.EdmType

EdmType for which to create a type usage

facets
Type: System.Collections.Generic.IEnumerable<Facet>

facets to be copied into the new TypeUsage

Return Value

Type: System.Data.Entity.Core.Metadata.Edm.TypeUsage

new TypeUsage instance