dotnetcore / SmartSql

SmartSql = MyBatis in C# + .NET Core+ Cache(Memory | Redis) + R/W Splitting + PropertyChangedTrack +Dynamic Repository + InvokeSync + Diagnostics
https://smartsql.net/
Apache License 2.0
1.1k stars 222 forks source link

请问支持全局过滤器和多租户么? #96

Closed liugt34 closed 5 years ago

liugt34 commented 5 years ago

请问大神,有没有类似EF的HasQueryFilter方法或配置呢,这样就可以支持多租户了? 如果不支持有没有什么好的代替方式呢?

Ahoo-Wang commented 5 years ago

https://github.com/dotnetcore/SmartSql/blob/master/src/SmartSql.Test.Unit/SmartSqlFixture.cs#L31