No announcements
Found 2341003 threads
-
0 Votes
EF eager loading in complex query
>I have a pretty complex EF query and it,s working well with lazy loading but gives me performance issues. i'm trying to use eager loading, but two children entities are ...Answered | 1 Replies | 674 Views | Created by Michel Bernier - Monday, July 4, 2016 2:07 PM | Last reply by Zhanglong Wu - Tuesday, July 5, 2016 2:15 AM -
1 Votes
Compiled Query return type not implicitly convertible
Hi DataByter, When using Code First/DbContext you're unable to take advantage of Compiled Queries (Link).Answered | 2 Replies | 4037 Views | Created by DataByter - Monday, July 9, 2012 6:25 PM | Last reply by DataByter - Monday, July 9, 2012 10:07 PM -
1 Votes
EF querying within a for loop getting progressively slower
Hello Milsnips, You could also try with the Entity Framework No-Tracking Queries, this may result in better performance when querying for large numbers ...Answered | 3 Replies | 3511 Views | Created by Milsnips - Wednesday, September 10, 2014 1:24 AM | Last reply by Fred Bao - Wednesday, September 10, 2014 7:28 AM -
5 Votes
Optimization of compiled queries
I am still digesting all the information, and trying to understand how all this works.Answered | 6 Replies | 1126 Views | Created by Imb-hb - Friday, October 28, 2016 8:53 AM | Last reply by Imb-hb - Wednesday, November 2, 2016 10:18 AM -
0 Votes
Compiled Query - Intellisense on Invoke
Reflector can help us check the detailed implementation of the CompiledQuery of EF.Answered | 2 Replies | 3115 Views | Created by Montanari F. _ - Thursday, June 10, 2010 12:24 PM | Last reply by Michael Sun [MSFT] - Tuesday, June 15, 2010 1:45 AM -
0 Votes
EF queries
0)) ; in the last line of code made things work.Answered | 2 Replies | 3268 Views | Created by PERMAL1 - Friday, July 8, 2011 2:35 PM | Last reply by PERMAL1 - Sunday, July 10, 2011 8:31 AM -
1 Votes
Refinement panel not working with search core results webpart and fixed keyword query
The solution is to create the Custom Core search results web part where you have control over the query and refinement behaviour.Answered | 20 Replies | 17342 Views | Created by kylierichardson - Wednesday, December 8, 2010 3:09 AM | Last reply by cbundy - Monday, February 13, 2012 1:08 AM -
0 Votes
Use EF with DDD principles is possible ???
Have a look at this EF 6 code 1st sample.Answered | 10 Replies | 835 Views | Created by AngeloNew - Friday, April 5, 2019 4:53 PM | Last reply by AngeloNew - Friday, April 12, 2019 4:07 PM -
0 Votes
Unit/Load Test with Pre-Compiled Application
As with other unit tests, there are two phases to creating a unit test for a compiled .EXE or .DLL.Answered | 2 Replies | 3685 Views | Created by Fanbladeus - Wednesday, July 15, 2009 12:56 PM | Last reply by Fanbladeus - Friday, July 17, 2009 2:05 PM -
0 Votes
SqlFunctions.StringConvert and unit testing
Hi, Welcome to EF forum!Answered | 4 Replies | 5431 Views | Created by AttachedWPF - Monday, January 10, 2011 5:19 PM | Last reply by Michael Sun [MSFT] - Thursday, January 27, 2011 4:53 AM -
2 Votes
How can we UNIT test that sample code compiles?
Maybe the answer is to have the unit test: Run the installer.Answered | 3 Replies | 2369 Views | Created by DavidThielen - Thursday, April 12, 2012 10:43 PM | Last reply by Lex Li - Sunday, April 15, 2012 8:20 AM -
0 Votes
Long running process, EF, Prism, Unity?
For me, I would not choice to use singleton or the IUnit Of Work Pattern, because DbContext itself implements the Unit of work pattern, and if using the IUnit of ...Answered | 1 Replies | 622 Views | Created by Mr.Weera PongPruchya - Wednesday, October 21, 2015 8:27 AM | Last reply by Fred Bao - Thursday, October 22, 2015 1:57 AM -
1 Votes
need help on unit test
I have a function that queries database and returns a list of people with a lot of attributes like gender, DOB, address, phone,.etc.Answered | 5 Replies | 2336 Views | Created by peter 9 - Friday, November 25, 2011 4:46 AM | Last reply by Yi-Lun Luo - Monday, November 28, 2011 4:16 AM -
1 Votes
Database Unit Tests Not Working
Any unit test project should reference that DLL.Answered | 6 Replies | 10558 Views | Created by Ken Powers - Tuesday, March 19, 2013 6:26 PM | Last reply by Christopher Haws - Friday, October 30, 2015 7:06 PM -
0 Votes
How to work with snapshot in EF?
retries = 0; } catch { retries--; } } perhaps there is a better way to do that in ...Answered | 5 Replies | 2510 Views | Created by cimcity - Thursday, October 13, 2016 4:05 PM | Last reply by Zhanglong Wu - Thursday, October 20, 2016 7:57 AM -
0 Votes
Sum units sold by month Query
Hi Julz, maybe you have 'Show' checkbox checked in the Query Designer for the DateShipped field?Answered | 4 Replies | 4281 Views | Created by Julz77 - Monday, May 2, 2011 9:25 AM | Last reply by Andrey Artemyev - Friday, May 6, 2011 8:27 AM -
0 Votes
EF 4 BETA 2: Does ObjectResult queries with .Include AND query projection still blow the whole query?
I read again some lines of Julie`s EF book and I misunderstood something ;-) Of course quering for properties should not return the whole entity.Answered | 4 Replies | 5990 Views | Created by Lisa Tatum - Wednesday, December 30, 2009 4:45 PM | Last reply by Lisa Tatum - Monday, January 4, 2010 8:22 PM -
0 Votes
Unit and Integration Testing
Yep, I have the email service built around an interface, and it has been unit tested.Answered | 6 Replies | 1035 Views | Created by WRBehning - Monday, December 23, 2013 2:25 PM | Last reply by WRBehning - Thursday, January 2, 2014 9:21 PM -
0 Votes
Dot Net core: Entity framework core for postgresql
Hi Jayakumar Vinayagam, According to your description and related link, it seems that you use OS-X system developing. we know EF can be used on all platforms (Windows, OSX, ...Answered | 1 Replies | 1025 Views | Created by VJK08 - Monday, September 12, 2016 6:29 AM | Last reply by Zhanglong Wu - Tuesday, September 13, 2016 2:59 AM -
0 Votes
Where is EF?
After I did that everything worked and I was able to access my data layer from each project.Answered | 10 Replies | 1789 Views | Created by KevinBurton - Wednesday, October 17, 2012 3:49 PM | Last reply by VictoriaBolton - Monday, October 22, 2012 8:57 AM
No announcements