Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EF referencing the same table twice
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
EF referencing the same table twice
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01552354
Message ID:
01552354
Vues:
76
Hi everybody,

I am trying to create classses for the existing database by coding them manually. I have EnteredBy and ModifiedBy columns in the table that both refer to the same column from Operators table. I will require an authorization and I will set these columns to the currently logged operator.

My question is - when I define my class, how should I make these relations?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform