efcore icon indicating copy to clipboard operation
efcore copied to clipboard

The column was specified multiple times for 't0'.

Open michael-jenkinson opened this issue 11 years ago • 2 comments

I am using a nightly build "EntityFramework.SqlServer": "7.0.0-beta6-13735",

When including multiple relationships in a query, I am getting an exception thrown with The column 'DeletedDate' was specified multiple times for 't0'. The duplicate column names are in Profile and ProfileSkill

var querybuilder = dbContext.Person .Include(p => p.GeoData) .Include(tp => tp.Profile) .ThenInclude(s => s.ProfileSkill)

michael-jenkinson avatar Jul 13 '15 05:07 michael-jenkinson

@Aequoris Could you also include the model you are using, DbContext and all relevant entities (Person, GeoData, Profile, ProfileSkill)

maumar avatar Jul 16 '15 21:07 maumar

unable to reproduce based on provided information, closing

maumar avatar Aug 19 '15 21:08 maumar