IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryExtensions Class > Skip Method : Skip(ITypedEntityQuery,Int32) Method |
'Declaration
<ExtensionAttribute()> Public Overloads Shared Function Skip( _ ByVal source As ITypedEntityQuery, _ ByVal count As Integer _ ) As ITypedEntityQuery
'Usage
Dim source As ITypedEntityQuery Dim count As Integer Dim value As ITypedEntityQuery value = EntityQueryExtensions.Skip(source, count)
[Extension()] public static ITypedEntityQuery Skip( ITypedEntityQuery source, int count )
var mgr = new DomainModelEntityManager(); var entityType = typeof(Customer); var baseQuery = EntityQuery.Create(entityType, mgr); var pss = new SortSelector("Id"); var query = baseQuery.OrderBySelector(pss).Skip(10).Take(10); var results = query.Execute();
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