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 8569139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:15:56+00:00 2026-06-11T18:15:56+00:00

I was wondering if we can convert a Linq Query on the Entity Framework

  • 0

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 or not. Any help is greatly appreciated on this.

Thanks,
Ajay.

  • 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. Editorial Team
    Editorial Team
    2026-06-11T18:15:58+00:00Added an answer on June 11, 2026 at 6:15 pm

    i released a library for that purpose just yesterday. Serialize.Linq. It serializes linq expressions to xml, json or binary.

    using System.Linq.Expressions
    using Serialize.Linq.Extensions;
    
    Expression<Func<Person, bool>> query = p => p.LastName == "Miller" 
        && p.FirstName.StartsWith("M");
    
    Console.WriteLine(query.ToJson());
    Console.WriteLine(query.ToXml());
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying out some LINQ query can someone please show how to
I was wondering how can convert CGcolorRef to UIColor ? I have created a
I am wondering how exactly I can convert a location (X Y Z) to
I'm wondering how you can convert Word .doc/.docx files to text files through Java.
I was wondering how can I convert user submitted data that contains an &
I'm trying to convert a standard SQL query to a LINQ to SQL query.
Wondering if there is a fast way, maybe with linq?, to convert a Dictionary<string,string>
I have this XML and just wondering how I can convert into C# class
I am a beginner with LINQ and lambda function's. I was wondering how can
I was wondering whether you can convert a handle to a window HWND. I

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.