I want to find the common ones from the values in different database. And include different database values insert other database.
var t1 = dbcontext.Entities
.Student
.Select(c => new { countrycode = c.countrycode,
branchcode = c.branchcode });
// db changes code
var t2 = dbcontext.Entities
.Student
.Select(c => new { countrycode = c.countrycode,
branchcode = c.branchcode });
var common = t2.Except(t1);
List<newtable> mn = new List<newtable>();
But not take common.How to solve except common value problem.