score:3
Accepted answer
two options come to mind:
- if the operations are fairly simple you can have a look at the new roslyn ctp. roslyn is a new managed compiler for visual studio that you can use in your own code. it let's you easily compile snippets of code and execute them.
- another thing you can have a look at are expression trees. with the expression tree serializer you can serialize an expression tree and possible save it in a database. but then you will need some kind of user interface to construct those expression trees. on the msdn you can find some examples of how to construct an expression tree by hand
Source: stackoverflow.com
Related Query
- Handling and calculate the formula saved in the database
- How can I check the number of calls to the database in LINQ query when using .NET Core and Code First?
- Querying the database using EF Code First and Linq
- Get the last entry in database of two different dates and calculate the difference
- How to count the number of code lines in a C# solution, without comments and empty lines, and other redundant stuff, etc?
- I am wondering about the state of connection and impact on code performance by 'yield' while iterating over data reader object
- Convert string to int in an Entity Framework linq query and handling the parsing exception
- Enumerable.Empty<T>().AsQueryable(); This method supports the LINQ to Entities infrastructure and is not intended to be used directly from your code
- Refactor Linq code and "LINQ to Entities does not recognize the method"
- Creating UI and database dynamically, what is the best approach?
- What is the difference between ((IEnumerable)source).OfType<T>() and source as IEnumerable<T>
- Why not reveal the type and identity of the source to the client?
- calculate the total time grouping by date and id using linq
- Is a full list returned first and then filtered when using linq to sql to filter data from a database or just the filtered list?
- Handling very large strings between SQL Server and .NET code +LINQ
- Better way to calculate the SUM of one, two and three consecutive items
- How to change the precision and the scale of decimal globally through code first?
- ASP.NET how to get the currently logged in users name and ID from a SQL database
- LinQ to SQL and where is the choice for all database
- Reorder a list of items and update in the database
- Why are stored procedures, functions, and views put into a .dbml file instead of the code file?
- LINQ/Lambda expression: Join lists and find the average counts of data with the given formula
- LINQ grouping by and creating a formula based on the returned results
- How to dynamically query the database using LINQ and a variable?
- c# List<T> calculate sum and average each item with the previous ones
- scala -> use .net (linq) and java code base in the same program?
- How to calculate STD dev and Average with linq and entity framework at the same time
- Having trouble iterating through a session key and comparing the value to database
- Linq: How to calculate the sales Total price and group them by product
- Lambda expression for getting a table row and update the row in database
More Query from same tag
- LINQ how do I specify select certain columns in a one to many joins
- LINQ for beginners
- How to do a recursive LINQ query?
- Can I can convert this C# code into some Linq code?
- Extract data from an Array
- How to group 2 different sequences in LINQ?
- Nested Linq Min() crashes Visual Studio
- The Property method can only be used with primitive or complex properties. Use the Reference or Collection method
- convert linq to lambda with multiple joins
- Linq missing months
- Linq query- Collection within a dictonary
- How do you do a join on two tables when you are implementing uows & a generic repository
- Cannot insert explicit value for identity column in table 'Students' when IDENTITY_INSERT is set to OFF
- Linq to Dynamics - compare two properties in where clause
- Linq -Where clause with not exists?
- Parallel Linq - Use more threads than processors (for non-CPU bound tasks)
- optimal way to summarize data results
- LINQ method, which Dynamically ordering data by column name I send
- Select and grouping based on different fields/integer
- Count cells of a DataGridView with the same value and display the result
- Anyone knows any Linq to XQuery implementation?
- C# compare one list with part of other list
- How to move a DataTable row to the first position of its DataTable
- Get the content of a row from sqlDataReader as a list
- update atribute in a list of objects using another list using Lambda C#
- How to Check if Data Exists in Table using LinQ to SQL
- Using LINQ to find the class that is in the bottom of the inheritance chain
- why Linq GroupBy After OrderBy dismissed order operation?
- How get all public static members without getters and setters via reflection?
- Operate with a linq predicate if the list has elements