in order to use an extension method, you must have a
using directive for the namespace of the class in which you defined the extension method.
so try putting your class in a namespace, and add
using for it.
also, be sure that this class is defined as public static.
- Use C# extension method as predicate in linq query
- How-to use predicates for customer where LINQ query in Entity Framework, Extension Method "Search by Words"
- How can I use this extension method in a linq to entities query using query syntax?
- Code equivalent to the 'let' keyword in chained LINQ extension method calls
- What is the use of Enumerable.Zip extension method in Linq?
- When to use an extension method with lambda over LINQtoObjects to filter a collection?
- How to use .ToDictionary() extension method on DataRow
- How to: Use async methods with LINQ custom extension method
- Is it possible to use .AsParallel Extension Method in PCL?
- Is there any way to use an extension method in an object initializer block in C#
- Linq to entities extension method inner query (EF6)
- Can I use an extension method in Entity Framework SubQuery?
- String extension method in Linq query
- encapsulating logic in a linq to sql query via extension method
- Difference between extension method and direct query
- ASP.NET MVC 2/.NET 4/Razor - Can't use Any() extension method on a ViewModel member
- Using an extension method on a base class in a LINQ query
- Convert linq query expression with multiple froms into extension method syntax
- Use a linq query as microsoft local report Data Source (WinForms)
- Can you use LINQ extension method operators in an ASP.NET databinding expression?
- Can I use a compiled query as a source in a second query?
- Use an extension method in a DynamicLinq-query
- Can I use the .Min() Linq extension method on a bool type?
- Linq Query to IEnumerable<T> Extension Method
- Is there a way to specify which extension method to use for extension methods of the same name in different namespaces?
- .Cast<T> extension method always throws InvalidCastException - How are you supposed to use this method?
- Moving a LINQ sub query to an extension method fails at runtime
- Nested Groups Linq query vs Groupby extension method
- How To Use C# Linq Predicate with custom Extension Method
- How to use Extension method inside a LINQ statement?
More Query from same tag
- How to test that all items of list a are in list b
- C#: Linq Reverse Collection failed
- Nested XML Parsing using LINQ
- LINQ query on DataTable - Could not find an implementation of the query pattern
- How to create a update function in LINQ when object has a list?
- Linq, Error Provider, Databinding: Custom error messages
- Need a performant way to return all duplicates from a list
- LINQ to XML error: Data at the root level is invalid
- How to use groupBy when you have 2 different groupings?
- Efficient way of paging with MongoDB and ASP.NET MVC
- LINQ in Windows 8.1 Universal Apps
- C# loop through class list but only once for multiple names
- Using LINQ expressions in Visual Studio's Watch window
- Is it possible to get LINQ projections from WCF service?
- LINQ: take a sequence of elements from a collection
- LINQ Join returning IQueryable
- How to apply search filtration based on AND condition using LINQ MVC
- LINQ Order By Descending with Null Values on Bottom
- Select Max value from sublist with LINQ
- How can I transform this SQL query to LINQ?
- Get same keys from two different dictionaries
- Is is better to use Find() or Single() to select an item from the database?
- Dynamic object, persistable to Azure and Querable by Dynamic Linq
- Adding Substring in table loop in Html.DisplayFor
- linq - get most recent associated record
- Create a hierarchical JSON Http response structure using LinQ
- How do I write a LINQ query to combine multiple rows into one row?
- Get last inserted row in sql server that has id as primary key and is a identity
- How do I run logical 'xnor' across a column in a multi-dimensional array (linq or simple algorithm)?
- Return Dictionary<int,List<Int>> from EntityFramework table