Entity Framework doesn't like 0..1 to * relationships.
- by Orion Adrian
I have a database framework where I have two tables. The first table has a single column that is an identity and primary key. The second table contains two columns. One is a nvarchar primary key and the other is a nullable foreign key to the first table.
On the default import of the database I get the following error:
Condition cannot be specified for Column member 'ForeignKeyId' because it is marked with a 'Computed' or 'Identity' StoreGeneratedPattern.
where ForeignKeyId is the second foreign key reference in the second table.
Is this just something the entity model doesn't do? Or am I missing something?