Table of Contents

Namespace Microsoft.EntityFrameworkCore.Design

Classes

AttributeCodeFragment

Represents usage of an attribute.

DesignTimeProviderServicesAttribute

Identifies where to find the design time services for a given database provider. This attribute should be present in the primary assembly of the database provider.

This attribute is typically used by database providers (and other extensions). It is generally not used in application code.

DesignTimeServicesReferenceAttribute

Identifies where to find additional design time services.

This attribute is typically used by design-time extensions. It is generally not used in application code.

EntityFrameworkDesignServicesBuilder

A builder API designed for database providers to use when implementing IDesignTimeServices.

MethodCallCodeFragment

Represents a call to a method.

NestedClosureCodeFragment

Represents a nested closure code fragment.

PropertyAccessorCodeFragment

Represents a property accessor lambda code fragment.

Interfaces

ICSharpHelper

Helper for generating C# code.

IDesignTimeDbContextFactory<TContext>

A factory for creating derived DbContext instances. Implement this interface to enable design-time services for context types that do not have a public default constructor. At design-time, derived DbContext instances can be created in order to enable specific design-time experiences such as Migrations. Design-time services will automatically discover implementations of this interface that are in the startup assembly or the same assembly as the derived context.

IDesignTimeServices

Enables configuring design-time services. Tools will automatically discover implementations of this interface that are in the startup assembly.

IMethodCallCodeFragment

Represents a call to a method.