CodeTypeExtensions Class

Extension methods for CodeType related to Entity Framework.

System.Object
  Microsoft.AspNet.Scaffolding.EntityFramework.CodeTypeExtensions

Namespace:  Microsoft.AspNet.Scaffolding.EntityFramework
Assembly:  Microsoft.AspNet.Scaffolding.EntityFramework.12.0 (in Microsoft.AspNet.Scaffolding.EntityFramework.12.0.dll)

public static class CodeTypeExtensions

The CodeTypeExtensions type exposes the following members.

  NameDescription
Public methodStatic memberIsValidDbContextTypeSpecifies whether the given type is a derived type of EntityFramework's DbContext/ObjectContext type.
Public methodStatic memberIsValidWebProjectEntityTypeSpecifies whether the given type is a valid Entity Framework entity for sccaffolding in Web Application Projects.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: