Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
AnswerRe: Read static values in a .dbml page Pin
Eddy Vluggen15-Oct-13 4:58
professionalEddy Vluggen15-Oct-13 4:58 
GeneralRe: Read static values in a .dbml page Pin
vkEE15-Oct-13 5:17
vkEE15-Oct-13 5:17 
QuestionRe: Read static values in a .dbml page Pin
Eddy Vluggen15-Oct-13 7:16
professionalEddy Vluggen15-Oct-13 7:16 
AnswerRe: Read static values in a .dbml page Pin
vkEE15-Oct-13 7:23
vkEE15-Oct-13 7:23 
Questionusing genetic algorithms to improve voice commands recognition Pin
Member 997361615-Oct-13 0:24
Member 997361615-Oct-13 0:24 
AnswerRe: using genetic algorithms to improve voice commands recognition Pin
Eddy Vluggen15-Oct-13 5:04
professionalEddy Vluggen15-Oct-13 5:04 
GeneralRe: using genetic algorithms to improve voice commands recognition Pin
Member 997361615-Oct-13 5:10
Member 997361615-Oct-13 5:10 
GeneralRe: using genetic algorithms to improve voice commands recognition Pin
Eddy Vluggen15-Oct-13 7:21
professionalEddy Vluggen15-Oct-13 7:21 
AnswerRe: using genetic algorithms to improve voice commands recognition Pin
GuyThiebaut15-Oct-13 6:00
professionalGuyThiebaut15-Oct-13 6:00 
QuestionGeneric Image editer. Pin
Mohammad_Imran14-Oct-13 1:26
professionalMohammad_Imran14-Oct-13 1:26 
AnswerRe: Generic Image editer. Pin
BillWoodruff14-Oct-13 1:32
professionalBillWoodruff14-Oct-13 1:32 
QuestionServer Name Using c# Pin
AF136612-Oct-13 21:47
AF136612-Oct-13 21:47 
AnswerRe: Server Name Using c# Pin
OriginalGriff12-Oct-13 22:24
mveOriginalGriff12-Oct-13 22:24 
AnswerRe: Server Name Using c# Pin
Abhinav S13-Oct-13 18:57
Abhinav S13-Oct-13 18:57 
Questionsecurity threat by interactive window services ? Pin
Abhay B12-Oct-13 9:44
Abhay B12-Oct-13 9:44 
AnswerRe: security threat by interactive window services ? Pin
Dave Kreskowiak12-Oct-13 10:40
mveDave Kreskowiak12-Oct-13 10:40 
AnswerRe: security threat by interactive window services ? Pin
Eddy Vluggen12-Oct-13 13:02
professionalEddy Vluggen12-Oct-13 13:02 
QuestionHow to use linq to write this sql sentence Pin
fengyuchun8812-Oct-13 4:45
fengyuchun8812-Oct-13 4:45 
AnswerRe: How to use linq to write this sql sentence Pin
Dave Kreskowiak12-Oct-13 6:46
mveDave Kreskowiak12-Oct-13 6:46 
Linq doesn't have an equivalent to *. Really, Linq never does a SELECT *. It always executes a query by naming each and every column in the source object. An example of a Left Join would be something like:
from itemA in a
join itemB in b on a.type equals b.type into bt
from itemB in bt.DefaultIfEmpty()
select new {
    aObj = itemA,
    bObj = itemB
}


In order to generate a new object from a list of unknown columns, you'd have to use so ugly Reflection code to get the columns and build a new object from them. Sorry, I don't have an example as I find the concept of SELECT * ugly and very prone to breaking code in the future, even in Linq.

You may want to read up on How to: Perform Left Outer Joins[^] and note the links in the left-side navigation pane.

GeneralRe: How to use linq to write this sql sentence Pin
OriginalGriff12-Oct-13 22:26
mveOriginalGriff12-Oct-13 22:26 
GeneralRe: How to use linq to write this sql sentence Pin
Shameel15-Oct-13 5:45
professionalShameel15-Oct-13 5:45 
GeneralRe: How to use linq to write this sql sentence Pin
Dave Kreskowiak15-Oct-13 8:44
mveDave Kreskowiak15-Oct-13 8:44 
GeneralRe: How to use linq to write this sql sentence Pin
Shameel16-Oct-13 19:57
professionalShameel16-Oct-13 19:57 
GeneralRe: How to use linq to write this sql sentence Pin
Dave Kreskowiak17-Oct-13 1:09
mveDave Kreskowiak17-Oct-13 1:09 
GeneralRe: How to use linq to write this sql sentence Pin
Pete O'Hanlon15-Oct-13 20:46
mvePete O'Hanlon15-Oct-13 20:46 

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.