views:

7

answers:

0

Hi,

I have a table like this:

  • Name
  • Tree
  • Iron
  • Clay
  • Added

I want to map it to a model like this:

  • Name
  • Resources
    • Tree
    • Iron
    • Clay
  • Added

In makes sense to map it like this, when working with it in my program, but doing it that way in the databse would just make it more complex ... not would not add any useful things.

Is it possible with EF4 Code ONly?