Another, more compact way to represent the same expression is to use an assignment statement similar to this.
另一种更紧凑的表达方式是使用下面这样的赋值语句。
This is the first time that this example is using a relation as a declarative statement to define an expression (in other words, a value assignment) instead of using it for model-to-model mapping.
这是本例子第一次把关联作为一个定义表达式(换句话说,一个赋值语句)的声明性陈述来使用,而不是用它作模型到模型的映射。
In writing an assignment statement, for example, you can declare variables of any type, use any identifier to the left of the equal sign, and supply any expression on the right.
例如你要写一句赋值语句,你可以声明任何类型的变量,在等号的左边使用任何标识符,然后在右边给出任何的表达式。
The value of the property participates in the expression just as a variable or constant would, or it is stored in the variable or property on the left side of the assignment statement.
属性值会如同变数或常数参与运算式的方式参与运算式,或是储存于指派陈述式左边的变数或属性中。
Almost anywhere you can put a value, you can put an arbitrary expression, with one exception: the left side of an assignment statement has to be a variable name.
你可以在任何地方放一个值,放任何一个表达式,只有一个例外:一个声明语句的左边必须是变量名。
Almost anywhere you can put a value, you can put an arbitrary expression, with one exception: the left side of an assignment statement has to be a variable name.
你可以在任何地方放一个值,放任何一个表达式,只有一个例外:一个声明语句的左边必须是变量名。
应用推荐