Skip to main content
Tooling
1 vote
1 replies
51 views

Is there anyone reading this that has experience of netcore-System.Data.Linq? We are about to embark on a very large code-base migration from Framework 4.8 to .NET8. We have relied on Linq2Sql for all ...
Femah's user avatar
  • 11
0 votes
1 answer
64 views

I installed LINQ-to-SQL in version 7.9, then noticed it didn't show up when I tried to use it. After doing some research, someone said to update visual studio to the latest, so I did that. I confirmed ...
TheMortiestMorty's user avatar
0 votes
0 answers
48 views

In a project that uses Linq2Sql I have the following tables: +-------------+ +-------------+ | Orders | | OrdItems | +-------------+ +-------------+ +------------...
Disti's user avatar
  • 1,601
2 votes
1 answer
98 views

Currently I fetch all customers that have registered exactly 2 years before a given date. var observationPeriod = DateTime.Today; var observedDate = observationPeriod.AddYears(-2); var customers = ...
AGuyCalledGerald's user avatar
0 votes
0 answers
109 views

Whenever I update my DBML (to include a new view/table), after the DBML auto-generates to included the new table/view, an untouched/unedited stored procedure is altered in the designer.cs file. The ...
King11's user avatar
  • 1,229
1 vote
1 answer
180 views

I need to find all descendants for a given list of parents. The query (in plain SQL) was easy enough, but I can't translate it into LINQ-to-SQL. SQL Query: select child.id from ...
Norbert Hüthmayr's user avatar
0 votes
1 answer
170 views

UPDATE: This code is used in a server side data export process, so no UI that necessitates paging/chunking and I simply need to 'plow' through (up to) 100's of thousands of rows of data. I'm migrating ...
Terry's user avatar
  • 2,028
0 votes
0 answers
85 views

I was trying to insert more than 20,000 records data in database using LINQ. Almost everything is fine until the line of SubmitChanges. It slows down my application. I tried commenting the ...
Noname's user avatar
  • 1
1 vote
0 answers
74 views

Is anyone aware of the reason why publishing a WPF application with ClickOnce would result in a "Specified cast is not valid." error? When attempting to open the design window for Linq to ...
Stephan's user avatar
  • 39
1 vote
0 answers
87 views

I have the following straightforward case where a client communicates with .NET Web API: Client makes a request for an object to the Web API giving the requested ID. Web API returns the object to the ...
Code Pope's user avatar
  • 5,459
1 vote
0 answers
44 views

I have the following table entity with my sql-database : using System.Data.Linq.Mapping; [Table(Name = "Users")] class Users { [Column(Name="UserKey", IsPrimaryKey=true)] ...
David's user avatar
  • 11
0 votes
2 answers
102 views

I'm attempting to update a value in my Database, but the IsReadOnly property is always coming back as True. According to Microsoft, that property Gets a value that indicates whether the type of the ...
Alpocalypse's user avatar
0 votes
1 answer
371 views

I am using .Net 4.8 Framework and System.Data.Linq package. I am trying to Map data from database to object (Child). ChildClass inherits ParentClass, so in my thought it should be able to use ...
Anuj Karki's user avatar
-2 votes
1 answer
348 views

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System....
user17409507's user avatar
0 votes
0 answers
53 views

I use ExecuteCommand in data context in linq to pass update command like this _context.ExecuteCommand("update tb_ExpList set exp_name = '" & TextBox8.Text & "',exp_desc = '"...
ABDULAZIZ DHAW's user avatar

15 30 50 per page
1
2 3 4 5
984