Introduce

2021-11-3 Guide Less than 1 minute

# Important

this is very Important if u first use Important

Warning

!!!Important,Important,Important!!!

!!!Important,Important,Important!!!

!!!Important,Important,Important!!!

ShardingCore best solution for efcore (opens new window) sharding。

Note

  1. this lib is efcore extension only
  2. very good this lib
  3. should manual migrate data
  4. if u framework use efcore,add sharding-core this ez,configure DbContextOptionsBuilder(e。g abp vnext (opens new window))

# Advantage

  • Code First

support efcore's code first。

  • customer route

support customer route sharding table and data base

  • default route

support more default route :int field hash code,string field hash code,long field time sharding,datetime field sharding,and support dynamic append table

  • any type field sharding

support any type field e.g:string,datetime,long,int...

  • join、group

support sharding entity join no sharding entity,sharding entity join sharding entity, group by too support

  • high performance page

sequence table tail support O(1) page,and support reverse page

  • manual route

support hint route

  • batch operate

support efcore batch operate extension

  • auto track

support efcore track

  • zero learning cost

use same as efcore native operation

  • multi data source support

support efcore2+ version sharding

  • multi entity properity sharding

sharding entity can set more than one property to support sharding query

  • dynaimc sharding database

support dynamic sharding database in application running

  • dynamic read write

support dynamic read write in application running

  • dynamic multi sharding config

support dynamic multi sharding config in application running

go! go! go!

Last update: February 20, 2022 14:41
Contributors: xuejiaming , xuejmnet