RelationalAnnotationProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A base class inherited by database providers that gives access to annotations used by relational EF Core components on various elements of the IReadOnlyModel.
public class RelationalAnnotationProvider : Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider
type RelationalAnnotationProvider = class
interface IRelationalAnnotationProvider
Public Class RelationalAnnotationProvider
Implements IRelationalAnnotationProvider
- Inheritance
-
RelationalAnnotationProvider
- Implements
Remarks
The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.
See Modeling entity types and relationships for more information and examples.
Constructors
RelationalAnnotationProvider(RelationalAnnotationProviderDependencies) |
Initializes a new instance of this class. |
Properties
Dependencies |
Relational provider-specific dependencies for this service. |
Methods
For(ICheckConstraint, Boolean) |
Gets provider-specific annotations for the given ICheckConstraint. |
For(ICheckConstraint) |
Gets provider-specific annotations for the given ICheckConstraint. |
For(IColumn, Boolean) |
Gets provider-specific annotations for the given IColumn. |
For(IColumn) |
Gets provider-specific annotations for the given IColumn. |
For(IForeignKeyConstraint, Boolean) |
Gets provider-specific annotations for the given IForeignKeyConstraint. |
For(IForeignKeyConstraint) |
Gets provider-specific annotations for the given IForeignKeyConstraint. |
For(IFunctionColumn, Boolean) |
Gets provider-specific annotations for the given IFunctionColumn. |
For(IFunctionColumn) |
Gets provider-specific annotations for the given IFunctionColumn. |
For(IRelationalModel, Boolean) |
Gets provider-specific annotations for the given IRelationalModel. |
For(IRelationalModel) |
Gets provider-specific annotations for the given IRelationalModel. |
For(ISequence, Boolean) |
Gets provider-specific annotations for the given ISequence. |
For(ISequence) |
Gets provider-specific annotations for the given ISequence. |
For(ISqlQuery, Boolean) |
Gets provider-specific annotations for the given ISqlQuery. |
For(ISqlQuery) |
Gets provider-specific annotations for the given ISqlQuery. |
For(ISqlQueryColumn, Boolean) |
Gets provider-specific annotations for the given ISqlQueryColumn. |
For(ISqlQueryColumn) |
Gets provider-specific annotations for the given ISqlQueryColumn. |
For(IStoreFunction, Boolean) |
Gets provider-specific annotations for the given IStoreFunction. |
For(IStoreFunction) |
Gets provider-specific annotations for the given IStoreFunction. |
For(IStoreFunctionParameter, Boolean) |
Gets provider-specific annotations for the given IStoreFunctionParameter. |
For(IStoreStoredProcedure, Boolean) |
Gets provider-specific annotations for the given IStoreStoredProcedure. |
For(IStoreStoredProcedureParameter, Boolean) |
Gets provider-specific annotations for the given IStoreStoredProcedureParameter. |
For(IStoreStoredProcedureResultColumn, Boolean) |
Gets provider-specific annotations for the given IStoreStoredProcedureResultColumn. |
For(ITable, Boolean) |
Gets provider-specific annotations for the given ITable. |
For(ITable) |
Gets provider-specific annotations for the given ITable. |
For(ITableIndex, Boolean) |
Gets provider-specific annotations for the given ITableIndex. |
For(ITableIndex) |
Gets provider-specific annotations for the given ITableIndex. |
For(ITrigger, Boolean) |
Gets provider-specific annotations for the given ITrigger. |
For(IUniqueConstraint, Boolean) |
Gets provider-specific annotations for the given IUniqueConstraint. |
For(IUniqueConstraint) |
Gets provider-specific annotations for the given IUniqueConstraint. |
For(IView, Boolean) |
Gets provider-specific annotations for the given IView. |
For(IView) |
Gets provider-specific annotations for the given IView. |
For(IViewColumn, Boolean) |
Gets provider-specific annotations for the given IViewColumn. |
For(IViewColumn) |
Gets provider-specific annotations for the given IViewColumn. |
Applies to
Entity Framework