本文整理汇总了C#中TransactionManager.transactionConfig方法的典型用法代码示例。如果您正苦于以下问题:C# TransactionManager.transactionConfig方法的具体用法?C# TransactionManager.transactionConfig怎么用?C# TransactionManager.transactionConfig使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TransactionManager
的用法示例。
在下文中一共展示了TransactionManager.transactionConfig方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RunTestsForm
public RunTestsForm(ref dao.QATestCollection tests, IMap map, TransactionManager tm, QAManager qa)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
if (tests == null)
throw new ArgumentNullException("tests", "Must pass collection of QA tests to RunTestsForm");
if (tests.Count == 0)
throw new ArgumentException("No QA tests passed to RunTestsForm", "tests");
if (map == null)
throw new ArgumentNullException("map", "Must pass the focus map to RunTestsForm");
this._tests = tests;
this._tm = tm;
this._qa = qa;
this._map = map;
this._defaults = new util.SystemDefaults();
// Throw TM stuff at the QA tests and see if it sticks
if (tm.Current() != null)
{
object[] theArgs = new object[2] {
new ISDUTLib.tm.dao.EditsDAO((IFeatureWorkspace)tm.Current().PGDBConnection, tm.transactionConfig()),
tm.transactionConfig()
};
for (int i = 0; i < this._tests.Count; i++)
{
this._tests.get_Test(i).Test.UserData = theArgs;
}
}
}