var dbSet = DataContext.Set<t>(); //1st way is Find() clause X obj = dbSet.Find(id); //2nd way is Where() clause X obj = dbSet.Where(y); //where y is predicate like zz => zz.Id == id
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)