답변

1

CoolStorage이 있지만 해당 ORM에 대한 경험이 없습니다.

ORM 그 자체가 아니지만 SQLite.Net Extensions과 함께 SQLite.Net을 확인하십시오. 유니버설 앱에서 지금 사용하고 있으며 필요한만큼 충분히 잘 작동합니다.

참고 : not yet support for relations in LINQ입니다.

은 나 자신은 현재이 같은 확장 기능을 사용하고 있습니다 :

매우 dissapointing의
public class Bar 
{ 
    [PrimaryKey, AutoIncrement] 
    public int Id { get; set; } 

    public string Title { get; set; } 

    [ManyToMany(typeof(FooBar))] 
    public List<Foo> Foos{ get; set; } 
} 

public class Foo 
{ 
    [PrimaryKey, AutoIncrement] 
    public int Id { get; set; } 

    public string Title { get; set; } 

    [ManyToMany(typeof(FooBar))] 
    public List<Bar> Bars{ get; set; } 
} 

public class FooBar 
{ 
    [ForeignKey(typeof(Foo))] 
    public int FooId{ get; set; } 

    [ForeignKey(typeof(Bar))] 
    public int BarId{ get; set; } 
} 
+0

, 나는 실제로 후에 무엇 이잖아, SQL 쿼리를 작성하지 마십시오. 이것은 아직 가능하지 않은 것 같습니다. – Pantelis

+0

@Pantelis는 CoolStorage에 대한 제 편집을 봅니다. 아마도 당신은 그것을 시도 할 수 있습니다. –

+0

이전에 본 적이 있지만 사용하지는 않았습니다. Windows 스토어 앱을 언급하는 곳은 어디에도 없습니다. 이것은 실제로 오래 전부터 Windows Phone 7 용입니다. – Pantelis

관련 문제