[英]Is it possible to store Math expressions in a database with EF C# Linq
Is it possible to store Math expressions in a database with EF C# Linq. 是否可以使用EF C#Linq将数学表达式存储在数据库中。 I have a Category class that is represented as a table in the database.
我有一个Category类,在数据库中表示为表。 I want to be able to add, update and delete the math expression.
我希望能够添加,更新和删除数学表达式。 The math expression is going to be used when calculating a price for that specific category.
计算该特定类别的价格时将使用数学表达式。 It will be associated with category.
它将与类别关联。 Is it possible to parse the expression if I store it as string or is there a better way?
如果我将其存储为字符串,是否可以解析该表达式,或者有更好的方法吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.