Questions tagged as 'code-first'

0
answers

Column Discriminator error EF code first

I'm doing a project in asp.net, I'm using C # classes to make the connection to the database, but every time I try to insert a user into the database, it generates the following error:    invalid column name "Discriminator" Note: My bank...
asked by 24.01.2016 / 04:00
2
answers

Create bank automatically with Code First

I'm creating an ASP.NET MVC application with Code First. This system is trade management software. I would separate the information from each company, and not leave everything in the same bank. We initially thought of leaving everything the same...
asked by 22.01.2016 / 12:10
2
answers

How to extend POCOs of the Entity Framework by encapsulating business rules?

I'm developing a 3 layer system. My initial intention was to expose the business layer entities to be used in the EF code first. I want to do this so that I can persist (in memory) entities so that they are managed by DbContext and do...
asked by 07.08.2015 / 19:05