mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;net50;netcoreapp31;netcoreapp21;net45;net40</TargetFrameworks>
|
||||
<Version>2.0.0-preview1115</Version>
|
||||
<Version>2.0.0-preview1119</Version>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<Authors>FreeSql;ncc;YeXiangQin</Authors>
|
||||
<Description>FreeSql is the ORM in .NetCore, .NetFramework, And Xamarin. It supports Mysql, Postgresql, SqlServer, Oracle, Sqlite, Firebird, Odbc, 达梦, 人大金仓, 神舟通用, 翰高, And Access</Description>
|
||||
|
@ -502,14 +502,5 @@
|
||||
<param name="that"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.FreeSqlRepositoryDependencyInjection.AddFreeRepository(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{FreeSql.FluentDataFilter},System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
批量注入 Repository,可以参考代码自行调整
|
||||
</summary>
|
||||
<param name="services"></param>
|
||||
<param name="globalDataFilter"></param>
|
||||
<param name="assemblies"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
@ -111,9 +111,9 @@ namespace FreeSql
|
||||
var isCommited = false;
|
||||
try
|
||||
{
|
||||
if (_tran != null && _tran.Connection != null)
|
||||
if (_tran != null)
|
||||
{
|
||||
_tran.Commit();
|
||||
if (_tran.Connection != null) _tran.Commit();
|
||||
isCommited = true;
|
||||
_fsql?.Aop.TraceAfterHandler?.Invoke(this, new Aop.TraceAfterEventArgs(_tranBefore, "提交", null));
|
||||
|
||||
@ -140,9 +140,9 @@ namespace FreeSql
|
||||
var isRollbacked = false;
|
||||
try
|
||||
{
|
||||
if (_tran != null && _tran.Connection != null)
|
||||
if (_tran != null)
|
||||
{
|
||||
_tran.Rollback();
|
||||
if (_tran.Connection != null) _tran.Rollback();
|
||||
isRollbacked = true;
|
||||
_fsql?.Aop.TraceAfterHandler?.Invoke(this, new Aop.TraceAfterEventArgs(_tranBefore, "回滚", null));
|
||||
}
|
||||
|
Reference in New Issue
Block a user