User614698185 posted
Hi Shimmy,
According to your description, I think you want to ignore DbSet property of BdContext base class, and not generating a DB table for it at all. So, I think you could use Ignore method to accomplish it. I create the sample, code shown below:
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Ignore<Category>();
modelBuilder.Configurations.Add(new ShippingAddressMap());
}
For more information, please refer to the following links:
https://msdn.microsoft.com/en-us/magazine/jj883952.aspx
I hope this will help you.
Best Regards,
Candice Zhou