Click here to Skip to main content
15,881,248 members
Home / Discussions / C#
   

C#

 
AnswerRe: How can I put an triangle and square shape in the center using c# in image processing Pin
OriginalGriff18-Jan-18 0:52
mveOriginalGriff18-Jan-18 0:52 
GeneralRe: How can I put an triangle and square shape in the center using c# in image processing Pin
Member 1363007218-Jan-18 1:09
Member 1363007218-Jan-18 1:09 
GeneralRe: How can I put an triangle and square shape in the center using c# in image processing Pin
OriginalGriff18-Jan-18 1:49
mveOriginalGriff18-Jan-18 1:49 
AnswerRe: How can I put an triangle and square shape in the center using c# in image processing Pin
V.18-Jan-18 20:18
professionalV.18-Jan-18 20:18 
QuestionHow to show customer data and order count using EF & LINQ Pin
Mou_kol17-Jan-18 23:52
Mou_kol17-Jan-18 23:52 
AnswerRe: How to show customer data and order count using EF & LINQ Pin
Pete O'Hanlon18-Jan-18 1:08
mvePete O'Hanlon18-Jan-18 1:08 
GeneralRe: How to show customer data and order count using EF & LINQ Pin
Mou_kol18-Jan-18 1:47
Mou_kol18-Jan-18 1:47 
GeneralRe: How to show customer data and order count using EF & LINQ Pin
Richard Deeming18-Jan-18 5:19
mveRichard Deeming18-Jan-18 5:19 
Something like this should work:
C#
var data = db.Customers
    .Where(c => c.CustomerID == 101)
    .Select(c => new 
    {
        c.CustomerID,
        c.FirstName,
        c.LastName,
        c.PhoneNo,
        c.Email,
        OrderCount = db.Orders.Count(o => o.CustomerID == c.CustomerID)
    })
    .ToList();




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: How to show customer data and order count using EF & LINQ Pin
Mou_kol18-Jan-18 21:05
Mou_kol18-Jan-18 21:05 
QuestionDo you know C# graphic library like Qt Desiner QCostumPlot Pin
Emrah Duatepe17-Jan-18 20:15
Emrah Duatepe17-Jan-18 20:15 
QuestionHow do I open a flush from the resource folder in C # Pin
Member 1362111717-Jan-18 11:46
Member 1362111717-Jan-18 11:46 
AnswerRe: How do I open a flush from the resource folder in C # Pin
OriginalGriff17-Jan-18 20:10
mveOriginalGriff17-Jan-18 20:10 
GeneralRe: How do I open a flush from the resource folder in C # Pin
Member 1362111718-Jan-18 4:50
Member 1362111718-Jan-18 4:50 
GeneralRe: How do I open a flush from the resource folder in C # Pin
Member 1362111718-Jan-18 5:56
Member 1362111718-Jan-18 5:56 
AnswerRe: How do I open a flush from the resource folder in C # Pin
Pete O'Hanlon17-Jan-18 21:00
mvePete O'Hanlon17-Jan-18 21:00 
GeneralRe: How do I open a flush from the resource folder in C # Pin
Member 1362111718-Jan-18 4:52
Member 1362111718-Jan-18 4:52 
QuestionHow to generate auto no for property Pin
Mou_kol16-Jan-18 22:08
Mou_kol16-Jan-18 22:08 
AnswerRe: How to generate auto no for property Pin
OriginalGriff16-Jan-18 23:10
mveOriginalGriff16-Jan-18 23:10 
AnswerRe: How to generate auto no for property Pin
Jochen Arndt16-Jan-18 23:24
professionalJochen Arndt16-Jan-18 23:24 
AnswerRe: How to generate auto no for property Pin
Gerry Schmitz17-Jan-18 9:30
mveGerry Schmitz17-Jan-18 9:30 
AnswerRe: How to generate auto no for property Pin
BillWoodruff20-Jan-18 15:03
professionalBillWoodruff20-Jan-18 15:03 
GeneralRe: How to generate auto no for property Pin
Mou_kol23-Jan-18 20:59
Mou_kol23-Jan-18 20:59 
GeneralRe: How to generate auto no for property Pin
BillWoodruff23-Jan-18 23:51
professionalBillWoodruff23-Jan-18 23:51 
SuggestionHow do I run adb or fastboot command in the folder location? Pin
Member 1362111716-Jan-18 17:29
Member 1362111716-Jan-18 17:29 
GeneralRe: How do I run adb or fastboot command in the folder location? Pin
Richard MacCutchan16-Jan-18 22:08
mveRichard MacCutchan16-Jan-18 22:08 

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.