|
#1
|
|||
|
|||
|
Entity Association
I'm trying to build a simple application using the entity framework. I have 2 tables with a 1 to many relationship (Employee - EmployeeHistory). In the database I have a foreign key relationship defined (EmpID --> EmpID). The EmployeeHistory table's PK is defined as EmpID and StatusDate. The Entity wizard does not pick up the foreign key when creating the .edmx file. When I manually try to create the association it errors out because StatusDate is not mapped. There doesn't appear to be anyway to remove StatusDate from the association mapping. Any idea as to what I'm doing wrong?
__________________
...joe |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| a simple question about design patterns | mkamoski | .NET | 1 | 08-13-2009 08:41 PM |
| How to call the ejbCreate() method of an entity bean from WITHIN the entity bean | Jared Dinerstein | Java | 0 | 09-28-2002 07:23 PM |
| entity references in XSD definitions? | unknown | XML | 0 | 04-02-2002 12:15 PM |
| Entity Beans and Data Change events | Laxmi Prasad | Java | 2 | 05-17-2000 08:24 AM |
| Wanted: Entity EJBs With Configurable Attributes | Jim Bowman | Java | 1 | 05-10-2000 06:20 PM |