/// <summary> /// Inserts a new snapshot /// </summary> /// <param name="snapshot">Snapshot instance</param> public void InsertSnapshot(SnapshotDetail snapshot) { CreateSnapshotTable(); using (var db = new PetaPoco.Database(_snapshotConnectionStringName)) { db.Insert(SnapshotTableName, "Id", snapshot); } }