Returns the entity implementation type for a specific entity interface type

Namespace: BrightstarDB.EntityFramework
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public static Type GetImplType(
	Type interfaceType
)
Visual Basic
Public Shared Function GetImplType ( 
	interfaceType As Type
) As Type
Visual C++
public:
static Type^ GetImplType(
	Type^ interfaceType
)
F#
static member GetImplType : 
        interfaceType : Type -> Type 

Parameters

interfaceType
Type: System..::..Type
The entity interface type

Return Value

Type: Type
The entity implementation type or interfaceType is no mapping is found

Remarks

This method returns the input interfaceType to allow a caller to pass a type that may be either an interface or an implementation type in and get the interface type out without having to know if the parameter actually is an interface type already.

See Also