fix #3648: update the template to correct the entity table name.
This commit is contained in:
parent
e36f13c595
commit
3c328a00b5
|
@ -15,5 +15,12 @@ namespace [Owner].Module.[Module].Repository
|
|||
{
|
||||
// ContextBase handles multi-tenant database connections
|
||||
}
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder builder)
|
||||
{
|
||||
base.OnModelCreating(builder);
|
||||
|
||||
builder.Entity<Models.[Module]>().ToTable(ActiveDatabase.RewriteName("[Owner][Module]"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user