Пример #1
0
        internal static async Task <TransScope> Create()
        {
            var transScope = new TransScope();
            await transScope.Init();

            return(transScope);
        }
Пример #2
0
 public async Task <TransScope> BeginTransaction()
 {
     return(await TransScope.Create());
 }