zzz projects Expression Tree Tutorial
Getting Started Documentation Knowledge Base
  • Getting Started
  • Documentation
  • Knowledge Base

Expression Tree Tutorial - Knowledge Base (KB)

5 results in tag: serialization

Expression Trees in C#: Serializing and Deserializing

Is there a way to Deserialize Expressions in C#, I would like to store Expressions in a Database and load them at run time.
c# expression-trees serialization
asked by Alexandre Brisebois

Save Entity Framework Linq Query to database

I was wondering if we can convert a Linq Query on the Entity Framework and save the query to the database by converting it to an Expression Tree and Serializing. Can someone please help me on this and point me in a right direction whether this can be done...
entity-framework-4 expression-trees linq serialization
asked by ajay

How do you call a constructor via an expression tree on an existing object?

I'm trying to call the deserialization constructor for an object that already exists. How do I do that with expression trees? ...I tried:...// Create an uninitialized object T graph = (T)FormatterServices.GetUninitializedObject(graphType); // (graph, ser...
c# expression-trees serialization
asked by sircodesalot

Serialize expression tree

I'm doing a distributed system in c# and have encountered a barrier....I need to be able to serialize Predicate with type...Predicate<ICollection<IEntity>> p = (entities => entities.OfType<Person>().Count() <= 3); ...I belive this is not possible in .net ...
c# expression-trees lambda serialization
asked by cholewa1992

Does Json.NET cache types' serialization information?

In .NET world, when it comes to object serialization, it usually goes into inspecting the object's fields and properties at runtime. Using reflection for this job is usually slow and is undesirable when dealing with large sets of objects. The other way is...
c# expression-trees json json.net serialization
asked by KFL

Page 1 of 1
  • 1

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!