I think that's because your entities which you created in the plugin contains a relation between Nop.Core entity such as Product
Entity Framework does not support cross-project relations You have to remove the Nop.Core Entity such as (Product property) from your entity and use ProductId int instead.