No announcements
Found 2341097 threads
-
0 Votes
unit of work compiled query in ef core 3x
User475983607 posted I must be missing something but I don't understand how the code ever worked.Unanswered | 4 Replies | 243 Views | Created by Anonymous - Tuesday, August 25, 2020 3:59 PM | Last reply by Anonymous - Wednesday, August 26, 2020 3:43 PM -
0 Votes
Compiled Queries
Compiled Queries (LINQ to Entities) Fernando If a post answers your question, please click ...Answered | 4 Replies | 4288 Views | Created by nsareen123 - Friday, June 3, 2011 2:22 PM | Last reply by Alan_chen - Friday, June 10, 2011 1:54 AM -
0 Votes
Compiled query Select in Entity Framework
Which version of EF are you using?Answered | 4 Replies | 3953 Views | Created by Siddarthvarunesh - Monday, August 12, 2013 4:14 AM | Last reply by Magnus (MM8) - Monday, August 12, 2013 8:07 AM -
0 Votes
Running unit tests greater than core count.
For more information, please see: ...Answered | 1 Replies | 2036 Views | Created by OleNotLena - Friday, November 9, 2012 10:15 PM | Last reply by Amanda Zhu - Monday, November 12, 2012 6:30 AM -
0 Votes
Is Unit of Work functionality already available inside the DbContext in EF 5
http://msdn.microsoft.com/en-us/library/system.data.entity.dbcontext(v=vs.103).aspx DbContext Class Entity Framework ...Answered | 1 Replies | 6009 Views | Created by DoWorkAync - Saturday, April 13, 2013 10:19 AM | Last reply by Carlos Sardo - Sunday, April 14, 2013 11:44 AM -
0 Votes
Compiled Query Does not work as concept
First is that without compiled and after is with?Answered | 2 Replies | 2737 Views | Created by imranabdulaziz - Wednesday, June 22, 2011 5:26 PM | Last reply by Rune Gulbrandsen - Thursday, June 23, 2011 7:41 AM -
0 Votes
create EF query step by step
Either way this works Dim query1 As IEnumerable(Of mytable) which is fine.Answered | 11 Replies | 2164 Views | Created by dcode25 - Sunday, November 20, 2011 6:26 PM | Last reply by Fernando Soto - MCSD - Tuesday, November 22, 2011 3:58 PM -
0 Votes
Why EF is not able to drop and create my database in the unit test
Hi DA924x, I know that i shouldn't call it unittest but it is because i have these problems when i test my EF syntax.Answered | 5 Replies | 577 Views | Created by arnaud.helin - Sunday, August 21, 2016 11:55 PM | Last reply by Zhanglong Wu - Thursday, August 25, 2016 8:17 AM -
8 Votes
EF4 with Repository and Unit of Work patterns – Is that necessary?
(DAL is adding Entities as reference) 3- Created a new DLL holding a generic repository that wraps up all original object sets in a generic ...Answered | 14 Replies | 12803 Views | Created by Abdallah.Hussein - Monday, September 27, 2010 1:16 PM | Last reply by Jorge Fioranelli - Wednesday, October 27, 2010 10:24 PM -
2 Votes
Unit Testing EF6 with Include
I have worked on a few projects using an ORM like nHibernate, EF and in-house written object code generators and not one time have I seen the ORM or the generator code being ...Answered | 7 Replies | 7062 Views | Created by SeligDrahcir - Saturday, September 28, 2013 11:57 PM | Last reply by dwaldo - Friday, December 13, 2013 5:12 PM -
2 Votes
How can compiled query work with DbContext?
Hi del.piero, As from the official announecment: "No compiled query support from DbContext Unfortunately due to some ...Answered | 5 Replies | 13824 Views | Created by del.piero - Sunday, May 27, 2012 7:01 PM | Last reply by Rei Miyasaka - Sunday, November 16, 2014 9:46 PM -
4 Votes
Only one CPU core per query?
I tested with the non-calculation queries to determine if there were other queries that took many seconds on the server and were instant on my machine, to determine ...Answered | 8 Replies | 11272 Views | Created by AaronLST - Tuesday, September 20, 2011 10:18 PM | Last reply by Christopher Webb - Saturday, September 24, 2011 9:47 PM -
0 Votes
EF query generation vs writing your own stored procedures
You'd better know how EF work in order to use them to their fullest.Answered | 1 Replies | 5310 Views | Created by danparker276 - Wednesday, June 15, 2016 5:37 AM | Last reply by Zhanglong Wu - Thursday, June 16, 2016 1:34 AM -
0 Votes
Query Database Using EF
Your idea worked for me and easy to understand.Answered | 14 Replies | 761 Views | Created by Godymn - Saturday, October 13, 2018 10:14 AM | Last reply by Godymn - Wednesday, October 17, 2018 12:40 PM -
0 Votes
EF Dynamic Query - Like
Hi, Maybe codes like below is what you want: static void Main(string[] args) { using (DataClasses1DataContext dataContext = new ...Answered | 4 Replies | 2891 Views | Created by Syslock - Thursday, September 5, 2013 6:20 AM | Last reply by Fred Bao - Wednesday, September 11, 2013 12:51 PM -
0 Votes
Compiled LINQ queries appear to be slower than non-Compiled
My Grid Control (DevX) works with an ObjectDataSource which pages the data using the Take and Skip capability.Answered | 5 Replies | 4846 Views | Created by twreynol_hotmail.com - Friday, January 28, 2011 6:30 PM | Last reply by darnold92 - Saturday, February 5, 2011 6:31 PM -
5 Votes
Doing Difficult stuff in EF
Hi, Generally, I find myself breaking hard-to-write queries in multiple small steps (just like we break complex TSQL queries using a series of CTEs) and utilize ...Answered | 4 Replies | 3419 Views | Created by Dean Blakely - Sunday, September 12, 2010 12:01 AM | Last reply by Michael Sun [MSFT] - Friday, September 17, 2010 1:37 AM -
0 Votes
EF 4.1 design/pattern question for custom queries
I was actualy not implementing the repository pattern and unit of work but after looking at your code I have done it this way and hve solved my problems.Answered | 5 Replies | 3843 Views | Created by Alex Bibiano - Thursday, December 1, 2011 8:27 AM | Last reply by Holger Kreissl - Friday, December 2, 2011 9:24 AM -
0 Votes
EF LINQ Query Problems
Hi, Since you posted this question to a WCF Data Services forum... do you run the above query through a WCF Data Services client over a server which uses EF as the ...Answered | 2 Replies | 4671 Views | Created by David McCarter - Friday, October 1, 2010 6:30 PM | Last reply by Michael Sun [MSFT] - Monday, October 11, 2010 1:22 AM -
0 Votes
EF 4 Inefficient SQL for simple query
The SQL I provided was just to illustrate the SQL EF generates.Answered | 2 Replies | 3721 Views | Created by William Klein2 - Tuesday, August 10, 2010 7:47 PM | Last reply by William Klein2 - Wednesday, August 11, 2010 2:18 PM - Items 1 to 20 of 2341097 Next ›
No announcements