# IT:AD:EF:DatabaseFirst #
* [[../|(UP)]]
{{indexmenu>.#2|nsort tsort}}
---
* Use when working with an existing Db.
* Otherwise, prefer either:
* [[IT/AD/EF/DatabaseFirst/]], and use it create a Db:
* [[IT/AD/EF/HowTo/Create/a/database/from/the/Model]]
* [[IT/AD/Code First/]] if it is a POC, or you can live without StoredProcs till EF6.
* The good news it that with EF5, EntityContext is superceded by DbContext. Yay!
## Process ##
Read:
* [[IT/AD/EF/HowTo/Create/a/Model/from/a/Database]]
* [[IT/AD/EF/HowTo/Move/the/Generation/of/Entities/to/a/Domain.Entities Assembly]]
## Considerations ##
* Import Wizard cannot create Entities for Items with no EntityKey.
Therefore, if no non-nullable values in View, or Table, it wil skip entity creation for that Entity.