Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Overloads Shared Function Where(Of TSource)( _ ByVal source1 As IEntityQuery(Of TSource), _ ByVal predicate As Expression(Of Func(Of TSource,Boolean)) _ ) As IEntityQuery(Of TSource) |
Visual Basic (Usage) | ![]() |
---|---|
Dim source1 As IEntityQuery(Of TSource) Dim predicate As Expression(Of Func(Of TSource,Boolean)) Dim value As IEntityQuery(Of TSource) value = EntityQueryExtensions.Where(Of TSource)(source1, predicate) |
C# | |
---|---|
[ExtensionAttribute()] public static IEntityQuery<TSource> Where<TSource>( IEntityQuery<TSource> source1, Expression<Func<TSource,bool>> predicate ) |
C++/CLI | |
---|---|
[ExtensionAttribute()] public: static IEntityQuery<TSource^>^ Wheregeneric<typename TSource> ( IEntityQuery<TSource^>^ source1, Expression<Func<TSource^,bool>^>^ predicate ) |
Parameters
- source1
- predicate
Type Parameters
- TSource
C# | ![]() |
---|---|
var mgr = new DomainModelEntityManager(); var query = mgr.Customers.Where(c => c.Country == "UK"); var list = query.Execute(); |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family