Contact Us
Forum Home
>
DevForce
>
DevForce 2010
New Posts
FAQ
Search
Calendar
Register
Login
Many to many Code first
Post Reply
Author
Message
Share Topic
Printable Version
Delicious
Digg
Facebook
Furl
Google Boomarks
Google Buzz
MySpace
Newsvine
reddit
StumbleUpon
Translate
Twitter
Windows Live
Yahoo Bookmarks
Topic Search
Topic Options
Post Reply
Create New Topic
rbautistaole
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
Newbie
Joined: 01-Apr-2011
Posts: 37
Post Options
Post Reply
Quote rbautistaole
Report Post
Quote
Reply
Topic: Many to many Code first
Posted: 15-Jun-2012 at 6:24pm
Hi.
How must I to define many to many relations with and without payload using code first?
By the way, i thin that is good idea to open a Subgroup to Code First questions.
thanks in advanced.
sbelini
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
IdeaBlade
Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options
Post Reply
Quote sbelini
Report Post
Quote
Reply
Posted: 18-Jun-2012 at 5:05pm
Hi rbautistaole,
I've found several articles on the topic. Here's a few:
http://www.codeproject.com/Articles/234606/Creating-a-Many-To-Many-Mapping-Using-Code-First
http://blogs.msdn.com/b/wriju/archive/2011/05/14/code-first-ef-4-1-building-many-to-many-relationship.aspx
http://stackoverflow.com/questions/7050404/create-code-first-many-to-many-with-additional-fields-in-association-table
Regards,
Silvio.
rbautistaole
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
Newbie
Joined: 01-Apr-2011
Posts: 37
Post Options
Post Reply
Quote rbautistaole
Report Post
Quote
Reply
Posted: 19-Jun-2012 at 6:17pm
Ok, but do PostSharp decorate the collection properties in a many to many relation with and without payload?
thanks.
sbelini
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
IdeaBlade
Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options
Post Reply
Quote sbelini
Report Post
Quote
Reply
Posted: 20-Jun-2012 at 12:03pm
Hi rbautistaole,
There is no special PostSharp attribute needed on a many to many relation (with or without payload)
Silvio.
Post Reply
Forum Jump
-- Select Forum --
Community Forum
Community Forum
Community Forum now on StackOverflow
DevForce 2012
DevForce 2010
DevForce 2009
DevForce Classic
Forum Permissions
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum