I have Audience Object and SocialAudience object. Audience can have one or many SocialAudience and other objects.
I want to get Audiences with there SocialAudiences that have IsDeleted column = 0.
var audience = await db.Audiences.Include(A => A.AudienceUsersSources)
.Include("AudienceUsersSources.AudienceUsersSourceDetails")
.Include("SocialAudiences.AdAccount")
.Where(A => A.CustomerCode == CustomerCode
&& A.IsDeleted == 0
).OrderByDescending(A => A.ID).ToListAsync();
the result of this code is audiences with socialAudiences that have IsDeleted = 0 and = 1.