System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation
Ticket Hash: 27908c6123829d56c7aaf39130bb4e4304a42f3d
Title: When I create the edmx model, I get the error 112
Status: Closed Type: Incident
Severity: Important Priority: Low
Subsystem: LINQ Resolution: Works_As_Designed
Last Modified: 2012-12-27 14:16:45
Version Found In: 1.0.82.0
User Comments:
anonymous added on 2012-12-26 19:42:43:
I am create a new database and I am use SQLite expert personal for administrating the data base.

I create my tables and create my foreign keys.

When I try to create the edmx model, I get the error 112:Error 112: The types of all properties in the Dependent Role of a referential constraint must be the same as the corresponding property types in the Principal Role.

All the constrainst are ok and in the edmx model, all the relationships are correct.

I am trying to create my DBContext entities (the .tt objects) and I get nothing.



Thanks.

mistachkin added on 2012-12-27 03:30:44:

This issue appears to be caused by a type mismatch between columns in a relationship.

For example, see: Entity Framework giving Error 112 when creating the model.


anonymous added on 2012-12-27 08:30:32:
Yes, the problem is that two types not are the same. I make this error in one foreign key.

So the problem is solved.



Thanks.