ToolingFacade.GetContextType Method (String)

 

Gets the fully qualified name of a type deriving from DbContext.

Namespace:   System.Data.Entity.Migrations.Design
Assembly:  EntityFramework (in EntityFramework.dll)

public string GetContextType(
	string contextTypeName
)

Parameters

contextTypeName
Type: System.String

The name of the context type. If null, the single context type found in the assembly will be returned.

Return Value

Type: System.String

The context type found.