IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : EntityScalarAsyncExtensions Class |
'Declaration
<ExtensionAttribute()> Public MustInherit NotInheritable Class EntityScalarAsyncExtensions
'Usage
Dim instance As EntityScalarAsyncExtensions
[Extension()] public static class EntityScalarAsyncExtensions
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.EntityScalarAsyncExtensions
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