How to map a "join-table" in entity framework
- From: Yvonne <letterbox@xxxxxxxxxxxxxx>
- Date: Wed, 1 Oct 2008 07:22:45 -0700 (PDT)
Hy all,
I started implementing an application based on the ADO.NET Entity
Framework. The basics are clear, at least from my point of view.
At the moment I'm trying to map a "join table" to a relation. The
scenario is the following:
- Table with an id (=PK) and a title
- Item with an id (=PK) and a title
-> relation is many to many and implemented with a join table which
contains an id (=PK) and a sequence number as additional information
In my model I wanted to simplify it a bit. I want the model to have
tables containing many items and a sequence number. My problem is that
the entity framework forces me to map the primary key of the join
table.
Does anybody have a good idea?
Kind regards,
Yvonne
.
- Prev by Date: Re: Creating new sql database from a different server than sql
- Next by Date: data adapter to SQL 2005
- Previous by thread: Re: LinQ
- Next by thread: data adapter to SQL 2005
- Index(es):
Relevant Pages
|