Skip to content

LINQ

LINQ (all flavours)

This category can be followed from the open social web via the handle linq-e04cf296@forum.codeproject.com

783 Topics 2.8k Posts
  • LINQ (un)optimization

    database performance csharp sharepoint linq
    11
    0 Votes
    11 Posts
    9 Views
    P
    mmGoDLiKe wrote: I DO trust my testing, however, and I am willing to bet my company that any development projects I undertake will not suffer from accidental data deletes. I have very strict processes and policies in place to prevent something like that from happening. I wish my clients were more like you :-D Unfortunately, in a lot of cases - I don't trust THEIR testing. Deja View - the feeling that you've seen this post before. My blog | My articles
  • Linq for Oracle

    csharp oracle linq question
    3
    0 Votes
    3 Posts
    4 Views
    J
    LINQ for MySql, Postres, Oracle[^]
  • Attaching entities that contain other entities.

    help csharp database linq sales
    6
    0 Votes
    6 Posts
    7 Views
    S
    Cool, thanks. I've found it. I'll have a good look at that when I've got some free time. Simon
  • Custom classes and linq + databinding

    question csharp database wpf wcf
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Streaming binary data [modified]

    csharp database asp-net linq sysadmin
    4
    0 Votes
    4 Posts
    4 Views
    M
    For those interested, I got my answer: You can get a DataReader from your LINQ query and do with it what you please. I stumbled upon this, which pointed me in the right direction: http://www.west-wind.com/WebLog/posts/141435.aspx[^] Happy coding! --Mike
  • 0 Votes
    7 Posts
    7 Views
    S
    thanks a lot!!! life is study!!!
  • LINQ Create Table?!!

    csharp database linq xml question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • 'Hanging' on SubmitChanges() ...

    csharp database linq testing debugging
    8
    0 Votes
    8 Posts
    6 Views
    J
    yikes! Same here ... its crashed a few times but nothing as serious as taking out some meshes with it thankfully. Still its only a babe isn't it ... Zam3D is pretty young too ;) Jammer Going where everyone here has gone before! :) My Blog
  • LINQ result to DataGridView

    csharp css database linq question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • How to lock a record with LINQ

    database question csharp linq tutorial
    3
    0 Votes
    3 Posts
    4 Views
    B
    Thanks,
  • Return max and min in the same query?

    database question csharp linq tutorial
    2
    0 Votes
    2 Posts
    2 Views
    P
    Off the top of my head: from p in Purchases group p by p.Price into q select new { MaxPrice = q.Max(r=>r.Price), MinPrice = q.Min(p=>p.Price) } Deja View - the feeling that you've seen this post before. My blog | My articles
  • lost precision when pulling decimal

    database help csharp sql-server visual-studio
    4
    0 Votes
    4 Posts
    6 Views
    B
    The type is showing up as decimal in the data designer. Strangely, it now seems to be working, without any real intervention on my part. The only thing I did, was to try changing the Bid type to Numeric (still didn't work) and then back to Decimal (now working). The only thing I can figure is that somehow it was wrong in the designer, but by going through my changes I managed to get it to change to the correct type...? This is in spite of the fact that I'm fairly certain that from the start I had the type as decimal in my table. I'll be designing some more tables, so I'll try to be sure to pay very close attention to what I'm doing, in case it happens again. BW
  • Why is not a sample ...

    csharp tutorial database wpf linq
    5
    0 Votes
    5 Posts
    7 Views
    B
    ok i will do it as time permits :-).
  • 0 Votes
    2 Posts
    4 Views
    P
    Visual Studio 2008 is now out. If you intend to do serious LINQ development you should upgrade, instead of messing about with an old CTP. Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
  • DAL and LINQ?

    csharp linq question
    7
    0 Votes
    7 Posts
    9 Views
    L
    XML files? That's interesting. Could you provide a code snippet showing how does LINQ work with XML? Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.
  • Is it possible to use .dbml in Visual Studio 2005

    csharp visual-studio
    2
    0 Votes
    2 Posts
    4 Views
    P
    No. Upgrade to VS2008. Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Create multi tabs

    csharp javascript asp-net question
    2
    0 Votes
    2 Posts
    4 Views
    R
    I guess you can start with some technique that is more fit for the task than Linq. Blog: http://www.rogeralsing.com Projects: http://www.puzzleframework.com
  • LINQ Query? [modified]

    csharp database linq tutorial question
    3
    0 Votes
    3 Posts
    5 Views
    J
    If the tables in the database has a primary-key, foreign-key relation then the related column's are available as a sub-entity in the same linq object. for example Employee and Department table related through DepartmentID.here it goes... From tbl In LocalDataTable _ Select tbl.EmployeeID, _ tbl.FullName, _ tbl.tblDepartment.Department, _ tbl.DateOfJoining, _ tbl.Salary this is one way of accessing the data from related tables. there are other better ways of doing the same. from tbl1 in EmpDataTable _ from tbl2 in DeptDataTable _ where tbl1.DepartmentID = tbl2.DepartmentID _ select _ tbl1.EmployeeID, _ tbl1.FullName, _ tbl2.Department, _ tbl1.DateOfJoining, _ tbl1.Salary (I'm a VB.NET Programmer) - Regards -    J O N A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
  • How to sell LINQ to DBAs?

    csharp linq com help tutorial
    9
    0 Votes
    9 Posts
    8 Views
    P
    Colin Angus Mackay wrote: Since then I've realised I still need XPath for lots of things. Irritatingly though, no XPath 2 support. :sigh: Deja View - the feeling that you've seen this post before. My blog | My articles