AsyncPoco.Tests.Tests.deco_Delete C# (CSharp) Method

deco_Delete() private method

private deco_Delete ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
		public async Task deco_Delete()
		{
			// Create some records
			const int count = 15;
			long id = await InsertRecordsAsync(count);

			// Delete some
			await db.DeleteAsync<deco>("WHERE id>=@0", id + 5);

			// Check they match
			Assert.AreEqual(await GetRecordCountAsync(), 5);
		}