Windows Store 응용 프로그램 (WinRT)에서 SQLite 데이터베이스를 구현하고 있습니다. 내가 뭘 잘못컬렉션 (1 : n) 관계를 만드는 방법
- $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
을 얻을
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>();
}
}
장 (N) - (n은 1) 도서 (1) 나는 두 테이블 사이의 관계에 원하는 ?
오류 메시지가 더 있습니까? 아마도 예외일까요? –
이 추가 정보는 내가 얻은 예외 메시지입니다 – Fixus
전에 "System.Collections.Generic.List'1에 대해 몰라서"라는 오류 메시지를 본 적이 없습니다. 정확한 오류 메시지를 복사하여 붙여 넣으시겠습니까? – Bobson