mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-24 19:52:51 +08:00
17 lines
299 B
C#
17 lines
299 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data.Common;
|
|
using System.Linq.Expressions;
|
|
using System.Text;
|
|
|
|
namespace FreeSql {
|
|
public interface IUnitOfWork : IDisposable {
|
|
|
|
DbTransaction GetOrBeginTransaction(bool isCreate = true);
|
|
|
|
void Commit();
|
|
|
|
void Rollback();
|
|
}
|
|
}
|