Posted On: Jan 23, 2020
Fluent API is a way of specifying the configuration of the model that covers everything executed by the annotations of the data. Fluent API and data annotations may be used together, but more preference is given by the Code First to Fluent API, then data annotations and finally to the default conventions. Fluent API is a way to configure the domain classes.
The Fluent API of the Code First is accessed by overriding the OnModelCreating method of the derived DbContext. Fluent API offers more configuration functionality than the DataAnnotations. Fluent API allows the user to configure the properties of the entities.
Never Miss an Articles from us.
To check, If you open up the reference file and detect system.entity.data, click the module and then inspect the runtime version numerical in the Properties explorer and you can witness the subversion...