IdeaBlade.EntityModel.Compat Assembly > IdeaBlade.EntityModel.Compat Namespace : EntityScalarQueryAsyncExtensions Class |
'Declaration
<ExtensionAttribute()> Public MustInherit NotInheritable Class EntityScalarQueryAsyncExtensions
'Usage
Dim instance As EntityScalarQueryAsyncExtensions
[Extension()] public static class EntityScalarQueryAsyncExtensions
Queries returning a scalar value are called "immediate execution" queries within LINQ. These queries don't actually exist as a query object, but execute immediately to return the desired value. For example, _entityManager.Employees.First()
does not return a query, it instead executes immediately, and synchronously, to return the first employee object. When only asynchronous queries are supported, for example in Silverlight applications, converting the query to the IEntityScalarQuery allows you to then use the scalar methods in an asynchronous query.
System.Object
IdeaBlade.EntityModel.Compat.EntityScalarQueryAsyncExtensions
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2