linq to sql - Left Join on Table with One-to-Many relationship -


I apologize for the eyes here, but I find it difficult to understand this problem (though I'm sure it There is a fairly common problem / solution) I want to execute a query that selects rows from a table, where the second table is "too many" in one-to-many relationships. But in my one where there is a special situation to check several parts, here is the code with part I do not understand full of pseduocode.

  var query = Programs from db.Accademic programs where programs. Program Program (keyword.text) with DeptIDName.DeptName.Starts || Program Academic programKAIDS (& Lt; a value that starts with the keyword. Text & gt;) Select new {program.ProgramTitle, program.ProgramHomePage, program.ProgramCode, program.ProgramType};  

This should work for you:

  Program Academic ProgramsKids.Any (APK => APK.Fild. Start (CARIRECTED TEXT))  

Effectively, it says:
Selection of Academic Programs Where do any of its academic programs


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -