RelationalDbFunctionAttributeConvention Class
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 convention that configures model function mappings based on public static methods on the context marked with DbFunctionAttribute.
public class RelationalDbFunctionAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
public class RelationalDbFunctionAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
type RelationalDbFunctionAttributeConvention = class
interface IModelInitializedConvention
interface IConvention
interface IModelAnnotationChangedConvention
type RelationalDbFunctionAttributeConvention = class
interface IModelInitializedConvention
interface IConvention
interface IModelFinalizingConvention
Public Class RelationalDbFunctionAttributeConvention
Implements IModelAnnotationChangedConvention, IModelInitializedConvention
Public Class RelationalDbFunctionAttributeConvention
Implements IModelFinalizingConvention, IModelInitializedConvention
- Inheritance
-
RelationalDbFunctionAttributeConvention
- Implements
See Model building conventions and Database functions for more information and examples.
Relational |
Creates a new instance of RelationalDbFunctionAttributeConvention. |
Dependencies |
Dependencies for this service. |
Relational |
Relational provider-specific dependencies for this service. |
Process |
Called when an IConventionDbFunction is added to the model. |
Process |
Called after an annotation is changed on an model. |
Process |
Called when a model is being finalized. |
Process |
Called after a model is initialized. |
Продукт | Версии |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Обратна връзка за Entity Framework
Entity Framework е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: