Code Monkey home page Code Monkey logo

Comments (9)

yuzd avatar yuzd commented on June 9, 2024

对的,netcore的版本 我没有移植这个功能,因为我发现这个功能很少实际会用到,你很需要这个功能?

from antdata.orm.

NaturalDragon avatar NaturalDragon commented on June 9, 2024

最近在研究分库分表这块,对比了几个框架,你这个框架是最完善的!不知道你方便升级.netcore的sharding?

from antdata.orm.

yuzd avatar yuzd commented on June 9, 2024

ok 感谢支持 我搞下 尽量本周内

from antdata.orm.

NaturalDragon avatar NaturalDragon commented on June 9, 2024

麻烦了,初次接触这个框架,不熟悉整体设计,改了小半天才把查询改了,你出手肯定是轻车熟路!

from antdata.orm.

yuzd avatar yuzd commented on June 9, 2024

v1.4.5 支持shardingdb 和 shardingtables。
还不支持db和tables 的sharding叠加

请查阅:https://github.com/yuzd/AntData.ORM/tree/netcore2/AntData/Test/TestSharding

from antdata.orm.

NaturalDragon avatar NaturalDragon commented on June 9, 2024

感谢,辛苦了!

from antdata.orm.

NaturalDragon avatar NaturalDragon commented on June 9, 2024

AntData.ORM-netcore2\AntData\AntData.ORM\DbEngine\Dao\sql\SqlBuilder.cs
批量插入方法BulkCopyCase 中集合dicValues没有判断key值重复,
foreach (var tuple in tupleList)
{
var key = shardingStrategy.ShardByDB ? tuple.Item1 : tuple.Item2;
if (dicValues.ContainsKey(key)) continue;
dicValues.Add(key, Tuple.Create(new List(),new StatementParameterCollection()));
}

from antdata.orm.

yuzd avatar yuzd commented on June 9, 2024

好的 晚点修复

from antdata.orm.

yuzd avatar yuzd commented on June 9, 2024

提交了一个新版本

from antdata.orm.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.