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

Transaction_nested_nn() private method

private Transaction_nested_nn ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
		public async Task Transaction_nested_nn()
		{
			using (var scope1 = await db.GetTransactionAsync())
			{
				await InsertRecordsAsync(10);

				using (var scope2 = await db.GetTransactionAsync())
				{
					await InsertRecordsAsync(10);
				}
			}

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