robertohuertasm / SQLite4Unity3d

SQLite made easy for Unity3d
MIT License
1.28k stars 265 forks source link

How do I create a foreign key? #35

Closed MEyes closed 8 years ago

MEyes commented 8 years ago

Hi, I can't find ForeignKeyAttribute,How do I create a foreign key?

robertohuertasm commented 8 years ago

Sorry, but SQLite-net doesn't provide this functionality. It seems that there's a library supporting some extensions that include Foreign Key support: https://forums.xamarin.com/discussion/2973/foreign-keys-in-sqlite-net

There's an issue asking for the implementation of such library in this project but I don't think is going to be implemented in the near future.

Best regards.