compiled-query
LINQ: When to use Compiled Queries?
I\'d like some expe开发者_Go百科rt advice on this. I\'ve used compiled queries before, but for this particular case, i\'m not sure whether it\'s appropriate.[详细]
2023-04-06 19:23 分类:问答In Linq to SQL how do you prevent Compiled queries from recompiling
I am using compiled queries. As expected they take extra time to compile for the first time however what I have also noticed is that they recompile after not being called for approximately 30 minutes.[详细]
2023-03-13 00:21 分类:问答Linq to SQL Transaction Insert then Select really, really slow
I\'m developing a piece of a system that basically migrates data from one set of tables to another set. Everything works fine, but I\'ve decided to employ transactions instead of just failing on thing[详细]
2023-03-08 13:20 分类:问答Linq-to-Entities match ID in list of integers in a compiled query
I\'m trying to find a way to 开发者_如何学JAVAimplement a Linq-to-Entities compiled query of the form:[详细]
2023-03-06 15:06 分类:问答linq compiled query, class field
How can I insted ofpublic var compiledQuery write Func < MYEntities,string, ???> public var compiledQuery = CompiledQuery.Compile((AddresEntities ctx, string name) =>[详细]
2023-03-06 14:02 分类:问答Entity Framework use CompiledQuery but allow runtime filter values
I\'m attempting to refactor a cumbersome LINQ-to-SQL data layer with an entity framework one. The database schema behind the model is big and a typical query might have 20 to 30 Includes. The EF gener[详细]
2023-03-05 19:53 分类:问答using union on linq compiled queries
I\'m trying to find the best way to 开发者_运维百科use union with linq. currently I have to compiled queries with the same signature:[详细]
2023-02-28 11:14 分类:问答including "offline" code in compiled querys
What happens behind the curtains when I include a function into my compiled query, like I do with DataConvert.ToThema() here to convert a table object into my custom business object:[详细]
2023-02-22 23:51 分类:问答Help with linq to sql compiled query
I am trying to use compiled query for one of my linq to sql queries. This qu开发者_高级运维ery contains 5 to 6 joins. I was able to create the compiled query but the issue I am facing is my query need[详细]
2023-02-09 15:14 分类:问答When should I use a CompiledQuery?
I have a table: -- Tag ID| Name ----------- 1| c# 2| linq 3| entity-framework I have a class that will have the following methods:[详细]
2023-02-09 00:52 分类:问答