linq-to-dataset
Generic collection fill by var value
In my code, I need help to put result value into oList NorthwindDataContext db = new NorthwindDataCo开发者_Go百科ntext();[详细]
2023-04-12 01:53 分类:问答Get duplicates for two columns with LINQ
LINQ drives me crazy. Why does following query not return the duplicates, whereas it works with only one identifier? Where is my error?[详细]
2023-04-06 19:47 分类:问答Warning: "Using the iteration variable in a lambda expression may have unexpected results"
Edit: Here is a much more simpler example of this issue (i\'ve deleted my original question): Dim numbers1 As New List(Of Int32)({1, 2, 3})[详细]
2023-04-01 00:17 分类:问答How can I get "levels" of a self referencing table in LINQ?
There\'s a table Category with a pk idCategory and a self-referencing foreign-key fiCategory. That means categories are \"main-categories\" whenfiCategory is null. If fiCategory links to another categ[详细]
2023-03-22 00:46 分类:问答Binding a data source but displaying something else
I have quite a few places where I need to bind form controls directly to a backing database. I\'m using LINQ to DataSet to do this.[详细]
2023-03-16 02:28 分类:问答Getting a column value
private string FindTaxItemLocation(string taxItemDescription) { if (!templateDS.Tables.Contains(cityStateTaxesTable.TableName))[详细]
2023-03-15 19:10 分类:问答Converting an entity model to a dataset - can this be done?
Very frustrated here ... I can usually find an answer of some kind to complex issues in .Net somewhere on the net, but this one eludes me.[详细]
2023-03-06 22:10 分类:问答LINQ query fails for NULL values
var query = from t1 in Table1 join t2 in Table2 on new { t1.Id } equals new { t2.Id} select new { t1.Id, t1.FirstName,[详细]
2023-03-06 01:18 分类:问答LINQ-Join tables on nullable columns
how to JOIN tables on nullable columns? I have following LINQ-query, RMA.fiCharge can be NULL: Dim query = From charge In Services.dsERP.ERP_Charge _[详细]
2023-02-26 01:33 分类:问答Best practices to create different projections from database for use with C#
So, my problem is that I have a bunch of interrelated tables in my database. Now, according to what the user wants, I need to create different projections from them.[详细]
2023-02-24 01:08 分类:问答