SQLite.Net MonoAndroid Giving “Could not resolve type” Error

I guess several years of using NHibernate has me taking ORMs for granted and caught up with me today.
I’m using SQLite-Net on a mobile app and had created a class which was too complex for the “CreateTable” action. The exception didn’t give a detailed explanation and it was a while before the lightbulb moment occurred having tried decorating the class with Table attributes and adding Primary keys etc.

The offending property was :

public List<string> SubSites {get; set;}

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s