tags:

views:

25

answers:

0

I'm wondering if using EF POCO classes (as here), will help me solve my problem. However I don't know enough about it.

The problem being that i have a user "table", with name and email, in my current datamodel (which can't be changed at design time), and at runtime, make available on the "User" object a field called "company" which maps to a new column in the table

It seems that generating the data model, at runtime, without a designer is definitely the way forward. But does anyone know how it's generating the model under the hood? If it's using the properties, then this may not work, but if there's a way to say, tell it how to generate the columns, then that could be a possible solution: