title: Entity Framework Code First - Advantages and disadvantages of Fluent Api vs Data Annotations
body: <p>When creating a database using Entity Framework code-first, a lot of the database model is can be extracted from the code. Fluent API and/or Attributes can be used to fine-tune the model.</p>
  <p>What are the advantages and disadvantages of Fluent API in comparison to Data Annotations? In other words, even if in certain situations both methods can be used, in what cases should one method prevail above the other?</p>