开发者

Read/Write distribution over MySQL Master/Slaves using Dapper

Would dapper have any problems with using two IDbConnection objects for distribu开发者_如何学Cting Writes and Reads between MySQL Master/Slaves?


No, not at all.

Dapper's identity cache uses the connection string as part of the key. This means you could even have your tables "out-of-column-order" in both the master and slave, and dapper would cope fine with it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜