sqlite-net Questions

3

Solved

What limitations are there on data types used in a class that will be used by SQLite-net to represent a table? Specifically, can I use this: public List<string> CoconutWaterBrands { get; set...
Arsenide asked 2/2, 2013 at 16:31

1

Solved

Introduction: In a SQLite.net powered SQLite database (on WP8.1 SL, but this shouldn't matter here) I'm adding data based on a given object. This object contains a custom type called Date. Until no...
Prepare asked 25/6, 2015 at 7:0

3

I would like to know how to use reflection in C# to call the following method : public static List<T> GetAllWithChildren<T> (this SQLiteConnection conn, Expression<Func<T, bool&...
Redeem asked 28/1, 2016 at 15:25

2

Hi I have a problem with retrieving datetime from SQLite database using sqlite-net library. Db column is of type DATE, example date in one of records is: 2013-08-02 I have a model: internal class...
Gotthard asked 2/8, 2013 at 12:33

1

Solved

We changed from sqlite-net to sqlite.net PCL edition. Our project worked fine with the old one - with the PCL edition, we now have to explicitely declare our platform by using. var conn = new SQLit...
Bloodthirsty asked 22/5, 2015 at 14:20

1

Solved

I used to open my SQLiteConnection in my shared project as following: var conn = new SQLiteConnection("MyDb.db3"); The constructor has been changed to the following signature: public SQLiteCon...
Rhombohedral asked 25/5, 2015 at 6:47

1

Solved

I am using SQLite-Net PCL together with SQLite-Net extensions for the development of an application using Xamarin. In my model I have two entities, let us call them A and B, that are connected by ...
Olag asked 12/3, 2015 at 8:19

1

I'm having difficulty trying to implement an SQLite-Extensions example for Windows Phone 8.1 that features a OneToMany relation. I'd really like to use this feature but I'm pulling my hair out tryi...

2

Solved

I'm trying to port an iOS application that uses native Sqlite3 and makes heavy use of SqliteDataReader. On the target platform I use SQLIte-Net (https://github.com/praeclarum/sqlite-net) and there ...
Epinasty asked 24/8, 2012 at 15:34

2

Solved

Trying to develop a Windows 8.1 Store App. Amongst other difficulties, I need to retrieve records from a sqlite database with two parameters on the where clause. I can successfully query with one p...
Roughhouse asked 6/7, 2014 at 16:22

1

Solved

I'm new to creating a Windows Store app and it requires a use of a database. I've settled for sqlite and am using the sqlite-net package. However, I'm unsure of how to create a m2m relationship bet...
Foretell asked 17/4, 2014 at 4:6

1

I'm using SQLite in my project and to connect to DB I use sqlite-net library. I have created a model: internal class Product { [PrimaryKey, AutoIncrement] public int Id { get; set; } public st...
Footless asked 20/8, 2013 at 12:18

1

Solved

If I use SQL Server CE for windows phone I can select which properties of a class map to database tables. This allows me to have abstract properties on a class. for instance [Table] public clas...
Younger asked 1/8, 2013 at 15:22

1

Solved

I'm using SQLite-net (https://github.com/praeclarum/sqlite-net) for implementing a database using Mono on Android and have the following: public class DatabaseTestASync { private SQLiteAsyncConne...
Katusha asked 24/4, 2013 at 15:39

1

Solved

I am currently writing a Windows Store Application for Windows 8 and I am using SQLite for the persistence on the embedded database in a class library for windows apps. I am trying to join data fro...
Foreworn asked 13/4, 2013 at 21:51

2

Solved

Using this code: public void InsertPlatypiRequestedRecord(string PlatypusId, string PlatypusName, DateTime invitationSentLocal) { var db = new SQLiteConnection(SQLitePath); { db.CreateTable<...
Sycamine asked 20/12, 2012 at 2:36

1

Solved

In the commented-out line below, PlatypusId is red/not recognized, although it does exist in the corresponding table. In the multi-line spanning assignment to queryResult, PlatypusId, where, and c...
Stench asked 3/12, 2012 at 22:50

© 2022 - 2024 — McMap. All rights reserved.