Linked Questions

Popular Questions

create generic function for include in entityframewoek

Asked by At

i have this code :

_catP.Include(c => c.Category).FirstOrDefault(x => x.Product.Id == id)

and i use the generic repository . i need to use this code generic in repository .

How Can do this ?

Related Questions