Will using dblinq to SQLite in a Windows Store app pass store validation?

664 views Asked by At

I've been trying to figure out how to get a decent LINQ to something working for ORM database access in a Windows Store app. All I've found is SQLite and the sqlite-net NuGet package. The latter sucks a bit, as I don't get any .dbml like structure which resolves relationships and provides navigation properties for easy querying (no manual joins needed then).

I was wondering:

  1. Does dblinq in comnbination with SQLite offer this?
  2. Will using this pass Windows Store validation?

Thank you !

Update: Some links I used in my research:

1

There are 1 answers

1
Damir Arh On

I'm not familiar with dblinq but by looking at the sqlite tests in the project, it seems the library is offering what you're looking for, i.e. navigation properties for relationships between different tables.

Since dblinq is a .NET library, using it shouldn't make the store validation fail. There is another problem though: you can't use such a .NET library in a Windows Store application, only Windows Store class libraries and portable class libraries are allowed. Since the source for the library is available, you can try compiling it as a Windows Store class library, but I'm afraid there are going to be some classes missing that dblinq is depending on which might make it difficult to port.