created SQLiteProcedures to hold all the strings for procs. Constants also serves similar purpose. renamed Class1 to SQLiteRepository.cs added all the necessary nuget packages for SQLite.Net-PCL
13 lines
323 B
C#
13 lines
323 B
C#
using SQLite.Net.Attributes;
|
|
|
|
namespace SQLiteRepository
|
|
{
|
|
public sealed class UserIdentity
|
|
{
|
|
[PrimaryKey, AutoIncrement]
|
|
public int Id { get; set; }
|
|
public string FirstName { get; set; }
|
|
public string LastName { get; set; }
|
|
public float HoursPerWeek { get; set; }
|
|
}
|
|
} |