Those are the code samples from my Webinar, if you are a regular reader of this blog and didn't come here from the webinar you should probably ignore this post.
The table class definition - Treasure.cs download.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TreasureApp1.Data
{
[Table]
public class Treasure : INotifyPropertyChanged, INotifyPropertyChanging
{
private int _id;
private string _type;
private int _amount;
private...