Skip to main content

Posts

Featured

  EF Core uses a metadata model to describe how the application's entity types are mapped to the underlying database. This model is built using a set of conventions - heuristics that look for common patterns. The model can then be customized using mapping attributes (also known as data annotations) and/or calls to the ModelBuilder methods (also known as fluent API) in OnModelCreating, both of which will override the configuration performed by conventions. Most configuration can be applied to a model targeting any data store. Providers may also enable configuration that is specific to a particular data store and they can also ignore configuration that is not supported or not applicable. For documentation on provider-specific configuration see the Database providers section. Microsoft documentation for EF Core: Creating and Configuring a Model EF Core (Entity Framework Core) is a framework that helps developers work with a database in their .NET application. It provides a set of API

Latest Posts