zzz projects Dynamic LINQ
Home
Documentation GitHub Knowledge Base  Help & Donate
Online Examples
  • Home
  • Documentation
  • GitHub
  • Knowledge Base
  • Help & Donate
  • Online Examples
  •   Download  

Dynamic LINQ - Knowledge Base (KB)

447 results

Select(" new (...)") into a ListT> (or any other enumerable collection of T>) using System.LINQ.Dynamic.

Say I have a DataTable with four columns, Company (string), Fund (string), State (string), Value(double):... table1.Rows.Add("Company 1","Fund 1","NY",100)); table1.Rows.Add("Company 2","Fund 1","CA",200)); table1.Rows.Add("Company 3","Fund 1",...
dynamic-linq linq
asked by Brad

SQL Convert Function in the Dynamic LINQ API

I'm trying to use a Dynamic LINQ Query to query a SQL database, and in the Where clause I need to evaluate an '=' condition with a field that is of type TEXT....Right now, I've got this:...var result = DBCon.PcInValue .Where(String.Format("InputName = ...
c# dynamic-linq linq linq-to-sql
asked by Overhed

Other databases using dynamic LINQ

Are there any free (gratis) providers for databases other MS SQL (e.g. MySQL or SQLite) that work with LINQ and support dynamic SQL query generation? E.g. ...table.Count()... generates something like ...SELECT COUNT(*) FROM table... and doesn't first load...
dynamic-linq linq sql
asked by svick

lambdas expressions generated dynamically + linq + OrderByDescending

how can I create a dynamic lambda expression to pass to use in my orderby function inside linq?...I basically want transform ...queryResults.OrderByDescending();... in ...queryResults.OrderByDescending(myCustomGeneratedLambdaExp);... where ...myCustomGene...
c# dynamic-linq lambda linq
asked by byte_slave

With Dyanmic Linq, you can handle a dynamic select.

I am using the Dynamic Linq Library that Scott Guthrie describes ...here.... ...Scott Guthrie's examples are great and I have used the dynamic Where statements quite a bit. ...Now, however, I am faced with a situation where I need to use the dynamic se...
c# dynamic-linq linq linq-to-sql
asked by CleverPatrick

Is it feasible to create dynamic LINQ queries for datatables that aren't strongly typed?

Using ...LINQ..., I've been trying to use the System.Linq.Dynamic library in order to query a datatable dynamically. The problem is that it's not strongly typed, and the extension method for select is expecting an IEnumerable as the source....Is there a ...
dynamic-linq linq
asked by Raúl Roa

Using the System.Linq.Dynamic namespace, how to perform the following in Dynamic Linq

I just want to know how to do the following in Dynamic Linq using System.Linq.Dynamic namespace...var query2 = db.Customers.Select( cust => new Customer { FirstName = cust.FirstName, ...
dynamic-linq linq
asked by emem

LINQ to Objects has a dynamic where clause.

I know there are a lot of examples of this on the web, but I can't seem to get this to work....Let me try to set this up, I have a list of custom objects that I need to have limited on a range of values. ...I have a sort variable that changes based on so...
c# dynamic-linq linq linq-to-objects
asked by Clarence Klopfstein

WCF Data Services with Dynamic Join

I am prototyping a generic data browser over WCF Data Services....The user can select the entities from a TreeView, thus I cannot hardcode the query result types and have to code the queries (URI or LINQ) dynamically....To offer joins across different Dat...
dynamic-linq wcf wcf-data-services
asked by Peter Meinl

Instant execution of a dynamic query?

I am using the MSDN Dynamic linq to sql package. It allows using strings for queries....But, the returned type is an ...IQueryable... and not an ...IQueryable<T>.... I do not have the ...ToList()... method....How can I this immediate execute without manua...
dynamic-linq linq sql
asked by Curtis White

Help with the Dynamic Linq Library

I have the following class:...public class Item { public Dictionary<string, string> Data { get; set; } } ...and a list of it:...List<Item> items; ...I need to filter and order this list dynamically using SQL-Like strings. The c...
c# dynamic-linq linq
asked by Alon Gubkin

Different failures based on the object supplied as a parameter when using Dynamic Linq?

I have an entityDao that is inherbited by everyone of my objectDaos. I am using Dynamic Linq and trying to get some generic queries to work....I have the following code in my generic method in my EntityDao :...public abstract class EntityDao<Implementatio...
dynamic-linq generics linq linq-to-sql where-clause
asked by SventoryMang

How flexible can my LINQ To SQL statements be?

I have the need to construct a LINQ To SQL statement at runtime based on input from a user and I can't seem to figure out how to dynamically build the WHERE clause....I have no problem with the following:...string Filters = "<value>FOO</value>"; Where("Fo...
.net-3.5 c# dynamic-linq linq-to-sql sql
asked by mcass20

Is Dynamic Linq stable?

Dynamic Linq... is provided as a sample for VS2008, not as a "real" project (no official site, no support, no issue tracking, no new releases...)....So I was wondering, how reliable is it ? Is it suitable for production use ?
.net dynamic dynamic-linq linq status
asked by Thomas Levesque

expressive tree-based dynamic query

I have a form in which the user will choose the following from dropdown lists:... table_name columnName_to_sort_by columnName_to_search_in ...The user shall enter ...Search_text... in a text box...The form shall draw data from many tables. I want to ...
c# dynamic-linq expression-trees
asked by user375492

In my asp.net project, how can I utilize dynamic LINQ?

How can I use dynamic LINQ in Visual Studio 2008?...I'm trying to use ...using System.linq.Dynamic ...but there is no intellisense. How can I use it?
.net c# dynamic-linq linq visual-studio
asked by Penguen

LINQ is used to dynamically query file system information.

I need to be able to return a list of files that meet some dynamic criteria. I've tried to do this using LINQ. ...I've found that it is possible to use dynamic LINQ using the System.Linq.Dynamic namespace that it is mentioned in ...Scott Gu's Blog.......B...
c# dynamic-linq linq
asked by Martin

What is the best way to make a dynamic linq to entities query?

Now this is probably really easy but being the tool that I am, I'm not sure the best way to attack this problem....I have a DAL and a load of methods using EF that populate drop down lists in a UI. i.e. material, source....From these, I want the user to ...
c# dynamic-data dynamic-linq linq-to-entities
asked by Ricardo Deano

Make a new Linq Select. Several extension methods

I am using Linq.Dynamic. I have already added another SelectMany extension to all for creating a new anonymous object with the data. But, I have ran into another issue that I can not seem to solve. ...I want to have extension method chaining as follows, b...
dynamic-linq linq linq-to-objects
asked by Dan

Dynamic.Where() Statements in LINQ

Scenario...: I have a list and three search filters. Something like:...ResultList = OriginalList.Where(filter1).Where(filter2).Where(filter3); ...Question...: Can I update filter 3, and then have the ResultList update, without having LINQ running filter1...
.net dynamic-linq linq
asked by Bodekaer

Page 2 of 23
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • »
  • »»

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!