Emit DbContext.OnModelCreating on every context creation

后端 未结 2 724
别那么骄傲
别那么骄傲 2021-01-14 13:52

I use entity framework code first to work with my database. I have several tables with different names but same structure, and this tables dynamically appears in database. H

2条回答
  •  独厮守ぢ
    2021-01-14 14:17

    Look like nobody knows answer...

    Otherwise, one man told me that my question is meaningless because of storage data in several tables will not give any achievement. More better to add indexes to database, partitioning table or something else. In other words this is Database Management System problem. But if some one knows answer I'll be very pleasured to hear something about EF hack.

提交回复
热议问题