Fluent API In Entity Framework Core | Fluent API Vs Data Annotations| Entity Configuration |Part-7

Pubblicato il: 01 gennaio 2022
sul canale di: Code with Salman
1,920
21

Complete Playlist:    • Entity Framework Core in Hindi /Urdu | Com...  
Fluent API is an advanced way of specifying model configuration that covers everything that data annotations can do in addition to some more advanced configuration not possible with data annotations. Data annotations and the fluent API can be used together, but Code First gives precedence to Fluent API - data annotations- default conventions.

Fluent API is another way to configure your domain classes.

The Code First Fluent API is most commonly accessed by overriding the OnModelCreating method on your derived DbContext.

Fluent API provides more functionality for configuration than DataAnnotations. Fluent API supports the following types of mappings.


In questa pagina del sito puoi guardare il video online Fluent API In Entity Framework Core | Fluent API Vs Data Annotations| Entity Configuration |Part-7 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code with Salman 01 gennaio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,920 volte e gli è piaciuto 21 spettatori. Buona visione!