Hi All, I am using the Entity Framework just to create classes that can be mapped to database tables. We have our own data access layer that I need to go through, which is why I'm only using the generated classes.
I would like the entity framework to generate foreign keys as properties instead of classes. So, basically, when it generates classes, I need it to ignore all the foreign keys.
Alternatively, I'm OK with deleting the FK links manually, but I can't figure out how to then regenerate the classes other than syncing from the DB.
I know that .Net 4.0 beta should support this out of the box with the new FK associations, but we're not ready to move up to this, yet. I was thinking that I may be able to use .Net 4.0 to generate the classes and plug them into my 3.5 project, but I doubt this would be smooth sailing.
Anybody have any ideas?
Thanks so much for any input.