linq-to-sql
Strange memory leak related to DataContext and PropertyChanged event
I have a windows service written in C#. After running for a couple of days it will be using about 2GB of ram.[详细]
2023-04-12 12:59 分类:问答LINQ to SQL DAL + BLL + Presentation [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing th[详细]
2023-04-12 10:52 分类:问答Linq to SQL - Populating an IEnumerable property
I am trying to pull some records from a table (BidNames) and pass them to a view in a view model.My view model consists of nothing more than a collection of BidName records.[详细]
2023-04-12 09:10 分类:问答LINQ doesn't provide a byte[] data type for storing files
I\'m trying to store a file in an SQL Server database and am using ASP.NET MVC 3 with LINQ to SQL in C#. When I try to set the data type of a column to byte[] it says that this is an in[详细]
2023-04-12 09:08 分类:问答How to merge 5 different type of linq queries into one based on a column
I am really confused on a report I need. As of today, most of my reports were simple, so I was able to do them myself easily. But being a newbie in sql/dlinq, I cannot find my way through the followin[详细]
2023-04-12 07:01 分类:问答Listpicker error SelectedItem must always be set to a valid value
I have a page in a Windows Phone 7 app where the user can edit or delete an Transaction object. The Transaction object is an Linq-to-Sql class that have a relationship with the Account class and the C[详细]
2023-04-12 06:28 分类:问答use different but similar objects without branching
Polymorphism, Code reusibility, OOP, C# question.I would like to create a method like: private void ManyLinesOfCode(DataContext mycontext)[详细]
2023-04-11 21:06 分类:问答Cant convert LINQ Query var to DataTable
I have the following code: var _permiso = from P in _db.clsPermiso select P; var _pagina = from P in _db.clsPagina.AsEnumerable()[详细]
2023-04-11 18:14 分类:问答Serializing Linq2sql model selectively to JSON
I have quite common linq2sql bussiness model from mssql database. There are some associations between tables, which is good. Whole model is in separate assembly. I am using JSON.NET library for serial[详细]
2023-04-11 17:56 分类:问答Is there a way to batch inserts using linq to sql
i would like to insert records in set of batches.For example, lets say I have 10,000开发者_JAVA技巧 records to be inserted.I want to insert them in batches of 500 or 1,000.How can I do this dynamicall[详细]
2023-04-11 17:22 分类:问答