Skip to content
  • Quick Poll

    The Lounge csharp database linq help question
    35
    0 Votes
    35 Posts
    27 Views
    J
    Starting about 7 years ago, I'd start every project using EF, and then after a while (growing from two hours to two weeks), I'd become so frustrated with EF's inability to do something that was available in Linq2Sql in V1.0, that I switch back L2S. On my last project, it's been 2 years, and I haven't reached that point yet. So, basically, it only took 7 (8?) releases of EF to match the capabilities that L2S had out of the gate. Truth, James
  • 0 Votes
    5 Posts
    0 Views
    D
    Sander Rossel wrote: ants are renting my place right now If the ants moved in without your permission, they are squatting. Are there such things as squatter's rights in The Netherlands? Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
  • I came into the office early today...

    The Lounge javascript cloud csharp linq com
    11
    0 Votes
    11 Posts
    0 Views
    H
    BEST
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • RIP Sound of the Week

    The Lounge javascript cloud csharp css linq
    9
    0 Votes
    9 Posts
    0 Views
    Sander RosselS
    Thanks for being one of my most loyal listeners :D Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
  • 0 Votes
    2 Posts
    4 Views
    J
    Interesting, I didn't know we can run functions inside a Linq GroupBy. Hmm ... This opens up some new possibilities for me. I'll attack the invoice items again, report almost done now 'Group the Store Invoices by Store to Average out the Freight/Shipping Margins Dim gFreightInvoicesGrouped As List(Of AtdFreightInvoiceReport) = gFreightInvoicesAll _ .OrderBy(Function(ob) ob.FSTORECODE) _ .Where(Function(a) a.FSTORECODE <> String.Empty Or a.FSTORECODE.ToLower() <> "unknown") _ .GroupBy(Function(inv) inv.FSTORECODE).Select(Function(cl) New AtdFreightInvoiceReport() With { .FINVNO = cl.First().FINVNO, .FSTORECODE = cl.First().FSTORECODE, .FLOCATION = cl.First().FLOCATION, .FAMOUNT = cl.Sum(Function(x) x.FAMOUNT), .FSHIPCOST = cl.Sum(Function(x) x.FSHIPCOST), .FSHIPPRICE = cl.Sum(Function(x) x.FSHIPPRICE), .FMARGINPERCENT = AmCommon.CalculateShippingPercentageFormattedToString(cl.Sum(Function(x) x.FSHIPCOST), cl.Sum(Function(x) x.FAMOUNT)), .FREDFLAG = False }).ToList() If it ain't broke don't fix it Discover my world at jkirkerx.com
  • 🐘 Windows 11!

    The Lounge javascript cloud csharp linq com
    23
    0 Votes
    23 Posts
    0 Views
    C
    truth. This summer I'm wiping my wife's laptop to put pro on it. Charlie Gilley β€œThey who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.
  • Check out new C# 12 preview features!

    The Insider News csharp linq com functional
    4
    0 Votes
    4 Posts
    0 Views
    M
    C# 12? What happened to 9-11? I think I'm using C# 8 with .NET 7, but since the build UI now tells me I can't select the language version, I might as well be using C# from an alternate universe. And isn't the language version somehow tied to the version of Visual Studio, and the update du jour? I guess wikipedia might help explain the mixing and matching of framework, compiler, and IDE that governs the language version. :laugh: Latest Articles: A Lightweight Thread Safe In-Memory Keyed Generic Cache Collection Service A Dynamic Where Implementation for Entity Framework
  • C# Embedded Regex

    The Lounge csharp performance help linq com
    11
    0 Votes
    11 Posts
    1 Views
    P
    On the other hand, by the time the application gets to production, it will have been tested. It's only in development where a compile time error would be beneficial. Frequently, a Regular Expression will have been developed and tested in Expresso or similar, so I wouldn't say that a compiler error is that much of a benefit.
  • 0 Votes
    3 Posts
    0 Views
    L
    I've used DevExpress. I find wiring report fields, bands, header, footers, etc. "fatiguing". One request was to add comments at report "preview" time. That was fun. Unless you have a "lot" of canned reports, creating custom reports in UWP / WPF might be easier. Related story: I needed a "monitor" screen for my app; 6 topics / tabs; many fields. I'd have some 20 fields going until I decided to use a single textbox per page, with wrapping, spaced the columns etc. using a stringbuilder; looks great (Consolas). Knocked off the other pages in little time more. Runs at 24 fps with no flicker. "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
  • Sound of the Week

    The Lounge javascript cloud csharp linq com
    11
    0 Votes
    11 Posts
    0 Views
    Sander RosselS
    Hey, thanks for your concern! :D Doing fine, just been very busy. Been listening to the same game soundtracks mostly, and then just in the background. So nothing really going on for me, musically. I'm open to suggestions though :D Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
  • Sound of the Week

    The Lounge javascript cloud csharp linq com
    6
    0 Votes
    6 Posts
    0 Views
    Sander RosselS
    Well then, it's official, we don't need DJ's anymore :) Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
  • 0 Votes
    5 Posts
    0 Views
    J
    That's just nonsense! "A little time, a little trouble, your better day" Badfinger
  • Sound of the Week

    The Lounge javascript cloud csharp linq com
    7
    0 Votes
    7 Posts
    0 Views
    Sander RosselS
    Deadmau5 and KAS:ST are always good, I think both have been SOTW before (though not these particular tracks) :thumbsup: I like the other ones as well :thumbsup: Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
  • ChatGPT "article"?

    Spam and Abuse Watch question linq com tools discussion
    7
    0 Votes
    7 Posts
    0 Views
    C
    I've just reported that article as spam - multiple links to a training site, not one that I've come across before
  • Ugh, moving my mail to Exchange...

    The Lounge javascript cloud csharp linq com
    20
    0 Votes
    20 Posts
    0 Views
    Sander RosselS
    Well, I don't keep everything. Automated mails about build status updates or spam, I throw away. But any remark or request from a client, no matter how small, I keep. Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
  • 0 Votes
    8 Posts
    0 Views
    P
    When I used to lead lama treks, I thought I'd lost one, but he came back.
  • At least I tried

    The Lounge javascript cloud csharp linq com
    8
    0 Votes
    8 Posts
    0 Views
    J
    :) "A little time, a little trouble, your better day" Badfinger
  • Sound of the Week

    The Lounge javascript cloud csharp linq com
    18
    0 Votes
    18 Posts
    0 Views
    Sander RosselS
    BillWoodruff wrote: Gotye and Kimbra's mini-art-song-opera "Somebody That I Used to Love:" [^] ... I remember that song from when it was popular on MTV and radio :D Somewhere in 2016 you recommended Kimbra's Two-way street to me, which also made it into the SOTW :thumbsup: BillWoodruff wrote: relaxing ? i hypothesize that you and your lady friend ... and i ... have such different nervous systems (dna ?) we could be from different planets Yeah, this certainly isn't difficult listening :~ Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
  • 0 Votes
    3 Posts
    0 Views
    Richard DeemingR
    And a comment: Comments by eekay81[^] "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer