dynamic-linq
Building a common set of methods that can operate on any linq table
Problem: We make extensive use of a repository pattern to facilitate read/write operations on our datastore (MS SQL using LINQ) across multiple applications and subsections of functionality. We have s[详细]
2023-03-10 02:49 分类:问答Counting percent of rows with category out of total number of rows using Dynamic Linq
How to a开发者_StackOverflowchieve this using Dynamic Linq Join and Dynamic Linq SelectManyDesired result is in q and q2.[详细]
2023-03-06 00:21 分类:问答Dynamically select and update a column value in LINQ resultset
I have a scenario in which there exists a LINQ resultset; I used the following query var stockDetails = from d in db.BloodBanks[详细]
2023-03-05 12:35 分类:问答Generic function for building Dynamic Linq query of string.contains against tokenized string
I am using Expression.And and Expression.Or to build dynamic linq queries. When the property/field being queried is a string, and the string contains spaces I would like to tokenize the string on the[详细]
2023-03-03 13:08 分类:问答Dynamic Linq - no property or field exists in type 'datarow'
I am using Northwind Customers Table where I fill the dataset and get the datatable. I am trying to use dynamic linq and want to select columnName dynamically[详细]
2023-02-25 21:06 分类:问答How do I perform a distinct on a column I am selecting dynamically?
I am using dynamic linq and selecting a column dynamically. I need to do a distinct on this. How could I do this?[详细]
2023-02-24 21:04 分类:问答Can I create a LINQ-to-Entity query on non-Entity Member fields
I have an Entity class that I have extended using the partial class syntax to have some derived properties.I would like to perform a query using the IQueryable<T> interface that uses the informa[详细]
2023-02-24 20:36 分类:问答Dynamic LINQ GroupBy question
I am using Dyanmic LINQ from the VS2010 code samples as I am trying to create a LINQ groupby expression.[详细]
2023-02-19 01:26 分类:问答Dynamic LINQ - Is There A .NET 4 Version?
I\'m looking to use LINQ for some searching routines and wanted to have some dynamic where clauses.So, for example, if a user wants to search by city or search by state, I would have a dynamic LINQ Wh[详细]
2023-02-14 10:47 分类:问答LINQ Dynamic Query Library
I am building an ASP.Net MVC 3 application with Entity Framework 4. When the two pieces of code below are executed, both variables (query1 and query2) have a return type of[详细]
2023-02-13 16:44 分类:问答