IT:AD:EF/Glossary
####
DbContext
ModelBuilder
Fluent
In CodeFirst, one can define the schema of the database in two ways – either by tagging the attributes of entities with attributes such as [Key] or [MaxLength(50)] etc…or using delegate syntax, within a ModelBuilder/. Fluent notation is a much prefered solution as the Attributes cause a hard dependency on the EF assembly to be dragged throughout the stack, rather than be confined to just the App.Back.Infra.Services