Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class NoteDetails
- {
- [SQLite.PrimaryKey, SQLite.AutoIncrement]
- public int NoteID { get; set; }
- public string NoteTitle { get; set; }
- public string NoteContent { get; set; }
- public DateTime NoteDate { get; set; }
- public NoteDetails() { } // Constructor
- public NoteDetails(int noteid, string notetitle, string notecontent,
- DateTime notedate)
- {
- this.NoteID = noteid;
- this.NoteTitle = notetitle;
- this.NoteContent = notecontent;
- this.NoteDate = notedate;
- }
- public static string DBPath()
- {
- return Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "NoteDetails.db");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement