Click here to Skip to main content
14,390,509 members

.NET Framework

 
QuestionChanging the Include function of Entity Framework if association table is added Pin
simpledeveloper20-Nov-19 8:32
Membersimpledeveloper20-Nov-19 8:32 
AnswerRe: Changing the Include function of Entity Framework if association table is added Pin
Richard MacCutchan20-Nov-19 10:01
mveRichard MacCutchan20-Nov-19 10:01 
GeneralRe: Changing the Include function of Entity Framework if association table is added Pin
simpledeveloper20-Nov-19 11:30
Membersimpledeveloper20-Nov-19 11:30 
GeneralRe: Changing the Include function of Entity Framework if association table is added Pin
simpledeveloper21-Nov-19 7:51
Membersimpledeveloper21-Nov-19 7:51 
QuestionMessage Closed Pin
20-Nov-19 1:05
Memberwils701820-Nov-19 1:05 
QuestionMessage Closed Pin
20-Nov-19 1:04
Memberwils701820-Nov-19 1:04 
QuestionMessage Closed Pin
20-Nov-19 1:04
Memberwils701820-Nov-19 1:04 
QuestionUsing Linq Join within the Where clause of another Linq Query Pin
simpledeveloper19-Nov-19 10:44
Membersimpledeveloper19-Nov-19 10:44 
I want to have Linq Query as below, but the not able to, its giving me compile time error any help please? The error is "inference failed to call the Join" - any help please? I want to use join within where clause of other query, is that possible? Thanks in advance.
Case _case = (from x in this.Context().CaseRepository.GetAll()
                              where (from g in x.Violations
                                     join a in this.Context().OneToManyRepository.GetAll().Where(a => a.ParentEntity == "Notice" && a.ChildEntity == "Violation") 
                                     on new { g.ViolationId, this.NOVId } equals new { a.ChildEntityId, a.ParentId }
                                     where g.CaseId == x.CaseId 
                                     select g).Count() > 0
                              select x).FirstOrDefault();

                this.TriggerMetaDataUpdate<Case>(_case);
                this.TriggerMetaDataUpdate<InspectionResult>(this.InspectionResult);

AnswerRe: Using Linq Join within the Where clause of another Linq Query Pin
Gerry Schmitz20-Nov-19 8:00
mveGerry Schmitz20-Nov-19 8:00 
GeneralRe: Using Linq Join within the Where clause of another Linq Query Pin
simpledeveloper20-Nov-19 8:33
Membersimpledeveloper20-Nov-19 8:33 
QuestionDropping Columns referenced by other Tables Pin
simpledeveloper19-Nov-19 7:57
Membersimpledeveloper19-Nov-19 7:57 
AnswerRe: Dropping Columns referenced by other Tables Pin
Gerry Schmitz20-Nov-19 7:54
mveGerry Schmitz20-Nov-19 7:54 
GeneralRe: Dropping Columns referenced by other Tables Pin
simpledeveloper20-Nov-19 8:39
Membersimpledeveloper20-Nov-19 8:39 
GeneralRe: Dropping Columns referenced by other Tables Pin
simpledeveloper21-Nov-19 17:36
Membersimpledeveloper21-Nov-19 17:36 
QuestionLinq to check before it creates select Pin
simpledeveloper15-Nov-19 15:04
Membersimpledeveloper15-Nov-19 15:04 
SuggestionRe: Linq to check before it creates select Pin
Richard Deeming17-Nov-19 23:47
mveRichard Deeming17-Nov-19 23:47 
QuestionMessage Closed Pin
15-Nov-19 2:05
Memberangelosia15-Nov-19 2:05 
QuestionMessage Closed Pin
15-Nov-19 2:04
Memberangelosia15-Nov-19 2:04 
QuestionMessage Closed Pin
15-Nov-19 2:03
Memberangelosia15-Nov-19 2:03 
QuestionMessage Closed Pin
14-Nov-19 0:58
Memberjems mariya14-Nov-19 0:58 
QuestionVB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 1:31
MemberEmanuela Meraglia8-Nov-19 1:31 
AnswerRe: VB6 dll calls from WCF Pin
Richard MacCutchan8-Nov-19 2:30
mveRichard MacCutchan8-Nov-19 2:30 
GeneralRe: VB6 dll calls from WCF Pin
Emanuela Meraglia8-Nov-19 3:11
MemberEmanuela Meraglia8-Nov-19 3:11 
GeneralMessage Closed Pin
19-Nov-19 20:07
professionalandreelew9219-Nov-19 20:07 
AnswerRe: VB6 dll calls from WCF Pin
Richard Deeming8-Nov-19 2:31
mveRichard Deeming8-Nov-19 2:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.