I keep getting this exception while using Andrew Davey's BindingListView (http://ift.tt/1iyHHc3). I am using ServiceStack OrmLite . My objects looks like this:
public class Category
{
    [PrimaryKey, AutoIncrement]
    public int Id { get; set; }
    [StringLength(50)]
    public string Name { get; set; }
}
and
public class Product
{
    [PrimaryKey, AutoIncrement]
    public int Id { get; set; }
    [References(typeof(Category))]
    public int CategoryId { get; set; }
    public int ProductTypeId { get; set; }
    [StringLength(50)]
    public string Name { get; set; }
}
I have no idea how to pass this exception and I search everywhere for two days now. Any help would be appreciated. Thanks!
Aucun commentaire:
Enregistrer un commentaire