Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

it's possible to mapping class with Foreign Key ? #155

Open
guidoDimasi opened this Issue Feb 7, 2013 · 0 comments

Comments

1 participant

Hi , i've this class:

public class Agenda002
{
public bool Agenda002_All_Day { get; set; }
.
.
.
[ForeignKey("Agenda002_Cod_Ticket")]
public virtual Agenda001 Agenda001 { get; set; }
}

when i call db.CreateTable(); it throw an exception : Don't know about TecniciDAL.ServizioTecnici.Agenda001

How it can be fixed?
Thanks.

xperiandri pushed a commit to xperiandri/sqlite-net that referenced this issue Sep 12, 2015

Merge pull request #155 from prasannavl/patch-2
Refactor enum value handling, and use a more efficient implementation to...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment