Sign in
Zlatko Michailov on Entity SQL
The ultimate Entity SQL blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Dictionary
Entity Framework
Entity SQL
EntityClient
eSqlBlast
LINQ to Entities
Live Appearance
SQL Server
Tips
Archive
Archives
September 2008
(1)
May 2008
(2)
March 2008
(2)
January 2008
(1)
December 2007
(10)
November 2007
(6)
October 2007
(4)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Zlatko Michailov on Entity SQL
Le Roi Est Mort, Vive Le Roi!
Posted
over 5 years ago
by
Zlatko Michailov - MSFT
2
Comments
Now that SQL Server 2008 is out the door, I’m full throttle on my new job. I’m totally excited about the improvement I’m working on, and I can’t wait to start blogging about it (once it’s out of secrecy.) Today I’m only changing the outlook of my...
Zlatko Michailov on Entity SQL
Moving On...
Posted
over 5 years ago
by
Zlatko Michailov - MSFT
2
Comments
I have to admit publically that I’ve decided to take on new challenges unrelated to EDM and Entity Framework. Starting today I’ll be working on the lower levels of the SQL Server Connectivity stack. I’d like to thank all of you who’ve been reading...
Zlatko Michailov on Entity SQL
New version of eSqlBlast - compatible with .NET Framework 3.5 SP1 Beta
Posted
over 5 years ago
by
Zlatko Michailov - MSFT
1
Comments
The .NET Framework SP1 Beta-compatible version of eSqlBlast is available at http://code.msdn.microsoft.com/esql/Release/ProjectReleases.aspx?ReleaseId=991 . The release includes a source code zip as well. The SP1 Beta distributions of .NET Framework...
Zlatko Michailov on Entity SQL
Primer to EntityConnectionStringBuilder
Posted
over 5 years ago
by
Zlatko Michailov - MSFT
1
Comments
Following the spirit of Primer to ConnectionStringBuilder from ADO.NET 2.0, let’s see how the pattern has evolved in Entity Framework. Building an Entity Connection String from Scratch What’s important to keep in mind before we dive into code...
Zlatko Michailov on Entity SQL
Why Should I Use Entity Framework?
Posted
over 5 years ago
by
Zlatko Michailov - MSFT
2
Comments
If your app is small enough, i.e. you write your own database schema (for SQL Server) and you write the only app over that schema, you don’t really need Entity Framework. In that case, you may consider LINQ to SQL. Now let’s think big. Let’s say...
Zlatko Michailov on Entity SQL
eSqlBlast on Code Gallery
Posted
over 5 years ago
by
Zlatko Michailov - MSFT
0
Comments
MSDN Code Gallery is now live! It’s a place to download compiled binaries rather than source code. The latest eSqlBlast is available at http://code.msdn.com/esql .
Zlatko Michailov on Entity SQL
The Edm.Length() Canonical Function over SqlClient
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
2
Comments
I recently blogged about canonical functions in Entity Framework and SQL Server’s LEN() function . The purpose of those two posts was to lay out the foundation for this one, and to allow it to be brief and coherent. Please read those two posts before...
Zlatko Michailov on Entity SQL
SQL Server’s LEN() Function
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
3
Comments
There is a peculiarity around the LEN() function in SQL Server that not many people have realized or paid attention to. It’s the treatment of trailing spaces. The documentation says: “ Returns the number of characters of the specified string expression...
Zlatko Michailov on Entity SQL
Entity Framework and Object/Relational Mapping
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
3
Comments
Often, people categorize Entity Framework as an Object/Relational Mapper and try to compare it to other O/R Mappers. I dare say that’s an apples-to-oranges kind of comparison. While Entity Framework does have ORM capabilities, that is only a fraction...
Zlatko Michailov on Entity SQL
eSqlBlast – The Ultimate Tool for Writing Entity SQL Queries
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
1
Comments
2007.12.18 : Today I posted an update to How to Parse an EntityDataReader - I discovered (and fixed) two bugs in the parsing code. Since the code is taken from eSqlBlast, the same fix should be applied to it too. The code is in project Core, class XmlVisitor...
Zlatko Michailov on Entity SQL
Entity Framework Beta 3 Is Available for Download
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
5
Comments
Entity Framework Beta 3 and related packages are available for public download: · Entity Framework Runtime : http://go.microsoft.com/fwlink/?LinkId=104981 · Entity Framework Tools : http://go.microsoft.com/fwlink/?LinkId=104983 · Entity Framework...
Zlatko Michailov on Entity SQL
Entity SQL: Canonical Functions
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
7
Comments
Canonical functions were introduced in the Beta 2 release of Entity Framework. Their purpose is to expose a [virtually] canonical API beyond the core language constructs. Consumers of canonical functions should be aware that Entity Framework defines only...
Zlatko Michailov on Entity SQL
Definition: API
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
3
Comments
API = syntax + behavior
Zlatko Michailov on Entity SQL
What Do ObjectQuery’s Builder Methods Build
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
0
Comments
Until Beta 2 ObjectQuery’s builder methods used to build a Command Tree. There were multiple problems with that: · Duplicate code - there is already a component that builds Command Trees from Entity SQL. · Caching – Command Trees are expensive to...
Zlatko Michailov on Entity SQL
How to Get the Native SQL from an ObjectQuery
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
3
Comments
The way to get the native SQL generated for an ObjectQuery is exactly the same as for EntityCommand – using the new ToTraceString() method introduced in Beta 3. Previously that would require a similar (even more obscure) pattern that involved ObjectQuery...
Zlatko Michailov on Entity SQL
How to Get the Native SQL from an EntityCommand
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
4
Comments
With the Beta 3 release, Entity Framework is introducing an easy way to get the native SQL from an EntityCommand. There was public API to get to the native SQL, but the pattern was too obscure, and I don’t want to go into detail. Let’s discuss the new...
Zlatko Michailov on Entity SQL
How to Do Custom Mapping Using Entity SQL Views
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
1
Comments
This post was intended to be a reply to this question http://forums.microsoft.com/msdn/showpost.aspx?postid=2440161&siteid=1 on the Entity Framework forum, but its size exceeds the forum server limit. Besides, it’s useful in general. So I decided...
Zlatko Michailov on Entity SQL
LINQ to Entities: Compiled Queries
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
3
Comments
Last Friday I blogged about making local variables behave consistently in LINQ to Entities queries . And the solution I recommended was compiled queries. But just today I realized that I haven’t blogged about compiled queries in general yet. The...
Zlatko Michailov on Entity SQL
Behavior of Variables in LINQ to Entities Queries
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
2
Comments
LINQ is very nice about referencing local variables without any additional declaration. When I ran my first such LINQ to Entities query, I was ecstatic. The next moment I was puzzled – are the values of those variables picked at compile-time and later...
Zlatko Michailov on Entity SQL
How to Parse an EntityDataReader
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
2
Comments
2007.12.18 : Please accept my apologies – today I discovered (and fixed) two bugs in the parsing code. One is a silly error. The other is that collections should be treated as primitive types and refs with regard to the number of fields. The code bellow...
Zlatko Michailov on Entity SQL
XSL Transformation of CSDL into HTML
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
1
Comments
The attached XSL script neatly renders an Entity Framework CSDL file into HTML. Below is the NorthwindEF model that we’ve been using for our samples, rendered using that XSL script: Northwind Entity Sets Entity Types Complex Types Associations...
Zlatko Michailov on Entity SQL
Entity SQL Tip #1
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
0
Comments
A well defined query against a well defined entity data model does not need JOIN . Navigation properties in combination with nesting sub-queries should be used instead. These latter constructs represent task requirements much more closely than JOIN...
Zlatko Michailov on Entity SQL
Live Appearance: Nov 27, 2007 in Vancouver, BC
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
0
Comments
On Nov 27, 2007 I'll speak about Query Options for Entity Framework at DevTeach in Vancouver, BC. Following is a preliminary outline of the talk: An overview of the Query Pipeline and the processes that take place there. Shapes of results that...
Zlatko Michailov on Entity SQL
Query Complexity Factors
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
1
Comments
A query issued through Entity Framework undergoes three main transformations: 1. Compilation 2. Query view expansion 3. Native SQL generation 1. Compilation Compilation is the process of producing a Command Tree. 1.1. Entity SQL 1...
Zlatko Michailov on Entity SQL
Entity SQL - Quick Reference
Posted
over 6 years ago
by
Zlatko Michailov - MSFT
1
Comments
Literals “abc” Value abc ‘abc’ Value abc 1 Value 1 {2} Value 2 {3, 4, 5} ...
Page 1 of 2 (26 items)
1
2