IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryExtensions Class > Where Method : Where<TSource>(IEntityQuery<TSource>,Expression<Func<TSource,Int32,Boolean>>) Method |
'Declaration
<ExtensionAttribute()> Public Overloads Shared Function Where(Of TSource)( _ ByVal source1 As IEntityQuery(Of TSource), _ ByVal predicate As Expression(Of Func(Of TSource,Integer,Boolean)) _ ) As IEntityQuery(Of TSource)
'Usage
Dim source1 As IEntityQuery(Of TSource) Dim predicate As Expression(Of Func(Of TSource,Integer,Boolean)) Dim value As IEntityQuery(Of TSource) value = EntityQueryExtensions.Where(Of TSource)(source1, predicate)
[Extension()] public static IEntityQuery<TSource> Where<TSource>( IEntityQuery<TSource> source1, Expression<Func<TSource,int,bool>> predicate )
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