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
  • Dynamic Aggregates on Report Rows

    csharp linq algorithms
    11
    0 Votes
    11 Posts
    4 Views
    B
    Thanks! That's a good pointer. I have also since found an evaluator library (in C#) that parses Excel style formulae, On which I can modify range specs to instead use collection variables.
  • How do I do an effective Except

    csharp linq cryptography tutorial question
    3
    0 Votes
    3 Posts
    4 Views
    T
    Thanks for your reply. It will take me a little to digest. I see what you are saying about overridding the GetHashCode. Could I achieve the same thing by overridding the ToString() method? The reason for only the one comparison in the LINQ is that I could not get the select to output two fields. I tried just selecting the objects by that did not work (because of the GetHashCode??) I shall have more of a play. Cheers. The FoZ
  • Linq to Oracle??

    csharp database sql-server oracle linq
    3
    0 Votes
    3 Posts
    2 Views
    L
    Try our Oracle-specific LINQ to SQL implementation. Short overview is available here. Devart Team http://www.devart.com/dotconnect ADO.NET data providers for Oracle, MySQL, PostgreSQL, SQLite with Entity Framework and LINQ to SQL support
  • Insert New Row in XML?

    csharp linq com xml question
    2
    0 Votes
    2 Posts
    4 Views
    M
    MSDN is your friend
  • LINQ-GRIDVIEW

    csharp question css linq
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Convert SQL to LINQ

    csharp database dotnet linq
    3
    0 Votes
    3 Posts
    2 Views
    T
    Yes, it's useful.
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • linqtoxml-update

    csharp linq question announcement
    12
    0 Votes
    12 Posts
    2 Views
    A
    Thank you
  • Invoke MethodExpression

    help tutorial question
    3
    0 Votes
    3 Posts
    2 Views
    A
    Hi Daniel, Thanks, will give this a try ____________________________________________________________ Be brave little warrior, be VERY brave
  • insert issue

    csharp help linq mcp
    2
    0 Votes
    2 Posts
    2 Views
    L
    If there is primarykey-foreign key relation in tables u hv to insert primarykey tables first after that u can insert in foreign key tables means in child tables. Thanks and Regards Sujit Kr. Mandal
  • dbml file problem

    help tutorial
    2
    0 Votes
    2 Posts
    3 Views
    L
    remove & add it again. Thanks and Regards Sujit Kr. Mandal
  • Nuts!

    question learning csharp linq testing
    29
    0 Votes
    29 Posts
    5 Views
    D
    Nice. Gotta love the smell of baking bread, pretty great. Daniel Vaughan Blog: DanielVaughan.Orpius.com Company: Outcoder
  • Fast Inserting Values with Linq in a database

    help question csharp database linq
    2
    0 Votes
    2 Posts
    2 Views
    L
    The problem looks like it's associated with recursive usage of the same DataContext instance during the SubmitChanges() execution in your code. Try to create a new context instance each time you need to save a log. Devart Team http://www.devart.com/dotconnect ADO.NET data providers for Oracle, MySQL, PostgreSQL, SQLite with Entity Framework and LINQ to SQL support
  • Converting Long Date To Short Date Format in Linq Query

    help csharp database linq
    22
    0 Votes
    22 Posts
    2 Views
    L
    J4amieC wrote: What a surprise, our OP just doesnt bother to respond to 2 serious answers. Patience brother! ;)
  • 0 Votes
    4 Posts
    3 Views
    M
    Thanks. I saw the one entity model template but avoided it since it was called ADO.NET. ;) So I'm sure in code my consumption of it will be somewhat different but I'm very comfortable with Linq to SQL. Thanks for explaining the differences.
  • Using two or more Where in a query in EF

    question database
    4
    0 Votes
    4 Posts
    3 Views
    R
    Wouldn't the statement be OR? Does he want and? Unless that is what he wants I apologize :)
  • LINQ Disadvantages

    csharp linq
    5
    0 Votes
    5 Posts
    3 Views
    M
    ...but you can use stored procedures with Linq to SQL! Just drop the SPROCS onto the entity surface and in your linq code you execute the sproc like a method. So your statement about SPROCS is incorrect.
  • [Message Deleted]

    4
    0 Votes
    4 Posts
    3 Views
    L
    Sanket.Patil wrote: Thanks for your reply. But if you could send me your reply again i will be glad to recieve. I don't understand what you mean here, could you rephrase the question? I also don't understand why you deleted your original message, as that means nobody can now review the questions and answers in order to make suggestions.
  • Using IsDescendantOf with LINQ

    csharp database sql-server linq
    3
    0 Votes
    3 Posts
    2 Views
    M
    J4amieC wrote: Can I see a sample of your xml, im sure this one should be easy enough. Nope, it's 6pm and I'm sitting here (at home) with a nice glass of white and that bloody thing has been left in the office. VS grumbled until I put the .Equals on the end. The only relevant thing should be that the NodeKey is a SQLHierarchyID I would think. I eventually chucked linq and went back to a stored proc to do the job - I'm seriously not happy with linq as it continually dissapoints. Never underestimate the power of human stupidity RAH
  • 0 Votes
    1 Posts
    1 Views
    No one has replied