58 Star 511 Fork 106

薛家明/sharding-core

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ISupportShardingTransaction.cs 790 Bytes
一键复制 编辑 原始数据 按行查看 历史
薛家明 提交于 2022-11-22 16:45 . 升级到efcore各自版本
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Storage;
namespace ShardingCore.Sharding.Abstractions
{
/*
* @Author: xjm
* @Description:
* @Date: 2021/9/18 13:30:08
* @Ver: 1.0
* @Email: 326308290@qq.com
*/
[Obsolete("can remove")]
public interface ISupportShardingTransaction
{
// void NotifyShardingTransaction();
// void Rollback();
// void Commit();
//#if !EFCORE2
// Task RollbackAsync(CancellationToken cancellationToken = new CancellationToken());
// Task CommitAsync(CancellationToken cancellationToken = new CancellationToken());
//#endif
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/xuejm/sharding-core.git
git@gitee.com:xuejm/sharding-core.git
xuejm
sharding-core
sharding-core
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891