﻿void AddRecordFromBackgroundThread (NSDictionary recordDictionary)
{
	NSManagedObjectContext moc = GetMyManagedObjectContext ();
	moc.InvokeOnMainThread (delegate {
		Record = (Record) NSEntityDescription.InsertNewObjectForEntityForName ("Record", moc);
		record.UpdateFromDictionary (recordDictionary);
	});
}