I have created a good amount of tables in my database, here are the problem ones:
Table Name -Item
ItemID - PK (Auto Increment)
Title
Table Name -Game
ItemID - PK
Console
Table Name -Film
ItemID - PK
Type
I have also added an association between the ItemID of Item and Film-Item and Game-Item
The issue is when I place this in Visual Studio and use the Entity Framework it seems to somewhat collapse the classes and totally remove Film and Game... I then cannot use Game or Film as an entity in my ASP code, any ideas how to solve this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…