RelationalModelCustomizer.FindDbFunctions(ModelBuilder, DbContext) Method
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.
Adds to the model function mappings found as public static methods on the context marked with the DbFunctionAttribute.
protected virtual void FindDbFunctions (Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, Microsoft.EntityFrameworkCore.DbContext context);
abstract member FindDbFunctions : Microsoft.EntityFrameworkCore.ModelBuilder * Microsoft.EntityFrameworkCore.DbContext -> unit
override this.FindDbFunctions : Microsoft.EntityFrameworkCore.ModelBuilder * Microsoft.EntityFrameworkCore.DbContext -> unit
Protected Overridable Sub FindDbFunctions (modelBuilder As ModelBuilder, context As DbContext)
Parameters
- modelBuilder
- ModelBuilder
The ModelBuilder being used to build the model.
- context
- DbContext
The context to find function methods on.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework