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
15 lines
385 B
C#
15 lines
385 B
C#
using System;
|
|
using SQLite.Net.Attributes;
|
|
|
|
namespace SQLiteRepository
|
|
{
|
|
public sealed class TimeLog
|
|
{
|
|
[PrimaryKey, AutoIncrement]
|
|
public int Id { get; set; }
|
|
public int UserId_FK { get; set; }
|
|
public int IdentifierId { get; set; }
|
|
public bool InOut { get; set; }
|
|
public DateTimeOffset SwipeEventDateTime { get; set; }
|
|
}
|
|
} |