DevTreks.Data/Filters/SearchFilters.cs
/// <summary>
/// Filters the query (getnetworkgrouops()) by NetworkGroupId
/// </summary>
/// <param name="networkGroupId">The networkgroup ID to filter by</param>
/// <returns>IQueryable of Network</returns>
Filters the query (getnetworkgrouops()) by NetworkGroupId
Filters the query ( getnetworkgrouops () ) by NetworkGroupId
public static IQueryable<NetworkClass>
            WithNetworkGroupId(this IQueryable<NetworkClass> qry,
            int networkGroupId)
        {
            return from ng in qry
                   where ng.PKId == networkGroupId
                   select ng;
        }
public static IQueryable < NetworkClass > WithNetworkGroupId ( this IQueryable < NetworkClass > qry , int networkGroupId ) { return from ng in qry where ng . PKId == networkGroupId select ng ; }
Filters the query (getnetworkgrouops()) by NetworkGroupId
Filters the query ( getnetworkgrouops () ) by NetworkGroupId
IQueryable of Network
IQueryable of Network
IQueryable<NetworkClass>
this
networkGroupId
int
The networkgroup ID to filter by
The networkgroup ID to filter by