Answers for "convert object to iqueryable in c#"

C#
0

convert object to iqueryable in c#

public static class ObjectExtensionMethods
{
    public static IQueryable<T> ToQueryable<T>(this T instance)
    {
        return new [] {instance}.AsQueryable();
    }
}
Posted by: Guest on June-13-2021

Code answers related to "convert object to iqueryable in c#"

C# Answers by Framework

Browse Popular Code Answers by Language