Create model with entity framework

Create entities mapping and context. Update entity framework.