Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EF referencing the same table twice
Message
 
 
To
04/09/2012 17:07:58
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01552354
Message ID:
01552360
Views:
33
>Are those columns the ID of the row from the Operators table or someother column from the table?
>
>>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.

They are op_code column which is character 6 and a primary key in that table.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform