tags:

views:

204

answers:

1

Hi, I'm getting the following error in subsonic:

Can't decide which property to consider the Key when trying to run this code:

var book = repository.Single<Libro>(l=>l.Prefix==capitulo[0]);

I already rerun the t4 templates and still get the same error. Any advice? thanks.

A: 

Hello I do not know the speaking english, I speak Spanish... Your problem is because the database is poorly constructed... there is an error with the definition of primary and foreign keys

Francisco