首先添加引用
測試程序源代碼:
using System;
using NUnit
using System
namespace TransactionTesting
{
[TestFixture]
[Transaction(TransactionOption
public class DatabaseFixture:ServicedComponent
{
[TearDown]
public void TransactionTearDown()
{
if(ContextUtil
{
ContextUtil
}
}
}
}
使用C:\Program Files\Microsoft Visual Studio
[assembly: AssemblyKeyFile(@
From:http://tw.wingwit.com/Article/program/net/201311/13009.html