suppose i have a employee class and i want when i will migrate or run our project then EF will not create employee table. so is there any attribute which i can use for a class to ignore it?
i found NotMapped attribute. does it stop EF to create db table for Product class?
[NotMapped]publicclassProduct{publicintId{ get;set;}publicstringName{ get;set;}publicintIssuedQuantity{ get;set;}publicintInhandQuantity{ get;set;}publicvirtualICollection<OrderedItem>OrderedItems{ get;set;}...}