mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Update SplitCodeFirstProvider
This commit is contained in:
@@ -18,7 +18,7 @@ namespace SqlSugar
|
|||||||
|
|
||||||
public void InitTables(Type type)
|
public void InitTables(Type type)
|
||||||
{
|
{
|
||||||
var isSplitEntity = type.GetCustomAttributes<SplitTableAttribute>() != null;
|
var isSplitEntity = type.GetCustomAttribute<SplitTableAttribute>() != null;
|
||||||
if (isSplitEntity)
|
if (isSplitEntity)
|
||||||
{
|
{
|
||||||
_InitTables(type);
|
_InitTables(type);
|
||||||
|
Reference in New Issue
Block a user