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

Transaction_complete() private method

private Transaction_complete ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
		public async Task Transaction_complete()
		{
			using (var scope = await db.GetTransactionAsync())
			{
				await InsertRecordsAsync(10);
				scope.Complete();
			}

			Assert.AreEqual(await GetRecordCountAsync(), 10);
		}