I asked something similar recently and it got solved by using AsQueryable: How to save time when pulling data from DB using Entity Framework Core in c ...
I asked something similar recently and it got solved by using AsQueryable: How to save time when pulling data from DB using Entity Framework Core in c ...
I have code like this where I want to query to MongoDB using Linq. I get an AsQueryable from MongoDB collection. I call it like so, Functions w ...
Where .AsQueryable() will cause an error No error will be reported when changing to AsEnumerable() But I don't want to send this code to the ...
Having quite a small experience with Mongo, please help... I have Employee collection (fields are: FirstName, LastName, Title, etc) in the Mondo DB, u ...
I'm unable to get data from the inner array of in MongoDB. I get the error: Here's a sample of my data in MongoDB, query, and environment. POCO ...
I'm using EF Core 5.0.4 I have these three entities that have relations. public class Parent { [Key] public int ParentId { get; set; } [ ...
I am using EfRepository<TEntity> to access data and I have a DbSet<TEntity>. I'm trying to access data asynchronously and I need it is as ...
I have some duplicated email records. I also need to return IQueryable type. I tried Distinct() but I did not work for me because I want to return IQ ...
I am writing some code which queries the Visual Studio object model. I see that there is no Exists method on the Projects collection object but I do ...
I want to use the linq where condition multi value by array string is split(',') I list data from data file in folder. (not in database) Code c# E ...
Is there any way to merge 2 select that both of select return separate list of data All I want to do is connecting to Database one times First Quer ...
This link describes the class DBSet.This type implements IQueryable, what means, that it has to have an implementation for AsQueryable(). But in the l ...
Given a simple model: Assume I want to select only a few fields from this class based off a query: The following error will occur: Element 'Id' ...
I am trying my hands at MongoDB C# driver version 2.2. I am trying to use projection as I do not want to retrieve all the elements in the document. I ...
I have a problem with OData WebAPI and querying a EnumerableQuery (a list on which I called .AsQueryable(). I have a entity set, a controller with a G ...
I have a function returning a report object, but currently i am going through a foreach look and then using the asQueryable method. I would like to d ...
I am having problem while using AsQueryable, I found some example in which casting i.e. AsQueryable required for this extension and in some example di ...
I am trying to use linq in C# with mongodb per the tutorial here http://docs.mongodb.org/ecosystem/tutorial/use-linq-queries-with-csharp-driver/ I ha ...
I am new to Reflection so please excuse my noob question. How can I create a Method that takes two Parameters, a Generic List and a String and then fi ...
Maybe it's simple question, but does AsQueryable() have some performance loss? Generally speaking we are working with RavenDB and we have existing co ...