lundi 6 novembre 2017

Entity Framework on ASP .NET MVC – Customizing Entity for Attributes, Methods and Properties

The issue: Entity object has it properties related to databases on its own, but the needs in the programming area is differ, sometimes we want to add it some more:

  1. Properties – that is for temporary logic.
  2. Methods – for clean code and for programming necessaries.
  3. Finally yet importantly – Attribute for authorization, display, filters etc.

However, obviously we do not want our program to be maintainability without needs to rewrite code just after we update the model.





Aucun commentaire:

Enregistrer un commentaire