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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:59:10+00:00 2026-05-30T09:59:10+00:00

The following link descrip about Non-Relational field types in database: http://wiki.developerforce.com/page/An_Introduction_to_Force_Database one of field

  • 0

The following link descrip about Non-Relational field types in database:
http://wiki.developerforce.com/page/An_Introduction_to_Force_Database

one of field types is the formula fields:

Formula – A read-only field holding data generated from a formula
expression.

I use c# and entity framework as development tools.Business logic in this application will be changed over months.I want to let system administrators(some users) to define application ‘s formula and store in the database.
My Question: How can is calculate formulas ,stored in database dynamically with c#?!
(formula contains: static values,field names,functions,operators and …).

What are your ideas?

  • Can i convert formulas(string) to linq query and execute dynamicaly?!!
  • …!!!
  • 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-05-30T09:59:12+00:00Added an answer on May 30, 2026 at 9:59 am

    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
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have come across the following link: http://code.google.com/p/a-star/source/browse/trunk/java/PathFinder.java?r=8 I have got the code working
I have tried to do this refering to following link. http://skypher.com/index.php/2008/07/28/function-list-for-php/ But no success.
The following link outputs a different image every time you visit it: http://www.biglickmedia.com/art/random/index.php From
Check the following link in Chrome: http://www.bavarianblue.com/parts-list/?tags=struts The site is totally jacked in IE
Please see the following link structure http://stackoverflow.com/questions/10672712/voting-system-like-stackoverflow In the above link the 10672712 is
In the following link within the 4th image from the top: http://duartes.org/gustavo/blog/post/page-cache-the-affair-between-memory-and-files The scenario
I am doing an application where I am using the following link http://iosdevelopertips.com/cocoa/date-formatters-examples-take-3.html to
i am working on following link: http://www.marvelfloors.com/ProductDetails.asp?ProductCode=0_OH501 i want to compare the values in
Let's say I have the following link: www.blahblah.com/#!?page=index How can I convert it to
I have following link, returning XML as from following link http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=24.827774,67.034367 //This is URLString

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.