Entity Framework and LINQ to Entities (5) Query Translation
The previous part discussed what SQL queries are the LINQ to Entities queries translated to. This part discusses how the LINQ to Entities queries are translated to SQL queries. As fore mentioned, IQue
5075 words
|
25 minutes
Entity Framework and LINQ to Entities (10) Performance
The previous parts has discussed a few aspects that can impact the performance of Entity Framework and LINQ to Entities, and here is a summary:
3386 words
|
17 minutes
Visual Studio Entity Data Model Wizard Not Responding
This post is for the issue that Entity Data Model Wizard becomes not responding. In Visual Studio 2015, when clicking the Finish button to create the entity data model from SQL Server 2014 SP! databas
1120 words
|
6 minutes
Entity Framework and LINQ to Entities (8) Transactions
As discussed above, by default DbContext.SaveChanges execute all data creation, update and deletion in a transaction, so that all the work can succeed or fail as a unit. The following example tries to
1308 words
|
7 minutes
Entity Framework and LINQ to Entities (9) Optimistic Concurrency
Conflicts can occur if the same piece of data is read and changed concurrently. Generally, there are 2 approaches:
3689 words
|
18 minutes
Understanding C# Features (8) Covariance and Contravariance
In covariance/contravariance, variance is the capability to replace a type with a less-derived type or a more-derived type in a context.
3954 words
|
20 minutes
Sync Windows Live Writer Drafts and Posts Across PCs
Windows Live Writer saves drafts and posts under Documents. To sync this directory with OneDrive, just move it to OneDrive, and create a junction point.
410 words
|
2 minutes
C# 6.0 String Interpolation, FormattableString, and Code Analysis CA1305: Specify IFormatProvider
C# 6.0 introduces a syntactic sugar , it is safer and more readable than [composite formatting](https://msdn.microsof
498 words
|
2 minutes
DiskPart Problem: Cannot Select Partition
When working with USB drive, the DiskPart command cannot select the partition of the USB disk:
208 words
|
1 minute