Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 178649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:16:05+00:00 2026-05-11T14:16:05+00:00

I am working on building some pseudo-intelligent caching into a LINQ query provider .

  • 0

I am working on building some pseudo-intelligent caching into a LINQ query provider. What I’d like to do (ideally) is use the expression tree of a given query as the cache key in some scenarios. However, I don’t want to store the entire object graph itself, so what’s a quick way to get a hashsum-like value from an expression tree? Or if I’m going in the wrong direction, is there a better option?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:16:05+00:00Added an answer on May 11, 2026 at 2:16 pm

    Um, actually I think this might be quite simple.

    The ToString() method of an Expression object will give you a textual representation of the Expression, you could hash that if all you want is to evaluate equivalency of a key.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building some Linq Expression and trying to get hold of MethodInfo for IEnumerable.DefaultIfEmpty
I've recently begun working on a project regarding GUI building using some form of
I'm currently working on building a java web app. I've been looking to use
I'm working on building a tree structure in MySQL and have been experimenting with
I am building up a MGrammar spec to parse some pseudo code looking for
I'm currently working on building a library to modularize some of my code and
I'm working on a WinForms C# 3.0 / .NET 3.5 project involving building some
I'm having some major trouble deleting directories. I'm working building a ADMIN tool to
I am working on building an inverted index using Python. I am having some
Lately I've been working on building two tools using Eclipse. I'm printing some messages

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.