0
brallierc created
I am having an odd issue when I try to change or remove the prefix from this table using:
prefix = ""; modelBuilder.Entity<TenantNotification>().ToTable(prefix + "TenantNotifications");
I get the following error:
Value cannot be null. Parameter name: entitySet
2 Answer(s)
-
0
Hi,
You should use TenantNotificationInfo instead of TenantNotification.
If you want to completly remove/change Abp table prefix from all abp related tables, you can use modelBuilder.ChangeAbpTablePrefix method. See <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/165">https://github.com/aspnetboilerplate/mo ... issues/165</a>
-
0
Thanks! that was the problem. I was using TenantNotification instead of TenantNotificationInfo.