Windows Mağazası uygulamasında (WinRT) SQLite veritabanını uygularım. Ben yanlış yapıyorumtoplama (1: n) ilişkisi oluşturma
- $exception {"Don't know about System.Collections.Generic.List`1[Audioteka.Models.Chapter]"} System.Exception {System.NotSupportedException}
+ [System.NotSupportedException] {"Don't know about System.Collections.Generic.List`1[Audioteka.Models.Chapter]"} System.NotSupportedException
+ Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
HelpLink null string
HResult -2146233067 int
+ InnerException null System.Exception
Message "Don't know about System.Collections.Generic.List`1[Audioteka.Models.Chapter]" string
olsun
class Book
{
[SQLite.AutoIncrement, SQLite.PrimaryKey]
public int Id { get; set; }
public String Title { get; set; }
public String Description { get; set; }
public String Author { get; set; }
public List<Chapter> Chapters { get; set; }
public Book()
{
this.Chapeters = new List<Chapter>();
}
}
Bölüm (n): - (n 1) Kitap (1) iki tablo arasındaki ilişki istiyor ?
hata mesajına Dahası var mı? Bir istisna, belki de? –
Bu ek bilgi, – Fixus
olsun istisna mesajıyla ilgili daha önce hiç bir zaman "System.Collections.Generic.List'1 hakkında bilmiyorum" hata mesajını görmedim. Tam hata mesajını kopyalayıp yapıştırdığınızdan emin misiniz? – Bobson