OneToMany relationship appearing as OneToOne in Linq to SQL diagram
Posted
by Robert Morgan
on Stack Overflow
See other posts from Stack Overflow
or by Robert Morgan
Published on 2010-03-30T09:31:27Z
Indexed on
2010/03/30
9:33 UTC
Read the original article
Hit count: 592
linq-to-sql
|.NET
I have a OneToMany relationship in an SQL Server database.
When I add the tables to my Linq to SQL diagram (DBML) the relationship comes up as OneToOne.
I have other OneToMany relationships which synchronise correctly.
Even If I change the cardinality to OneToMany the collection still only returns a single entity.
Could this be a bug?
© Stack Overflow or respective owner