IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryExtensions Class > Count Method : Count(ITypedEntityQuery) Method |
'Declaration
<ExtensionAttribute()> Public Overloads Shared Function Count( _ ByVal source As ITypedEntityQuery _ ) As Integer
'Usage
Dim source As ITypedEntityQuery Dim value As Integer value = EntityQueryExtensions.Count(source)
[Extension()] public static int Count( ITypedEntityQuery source )
var mgr1 = new DomainModelEntityManager(); var entityType = typeof(Customer); var baseQuery = EntityQuery.Create(entityType); var count = baseQuery.Count();
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