OneToMany relationship appearing as OneToOne in Linq to SQL diagram
- by Robert Morgan
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?