实体变量的使用需要非常小心,而且最好在你学习第5章的合适策略之前避免使用它们。
Instance variables must be used with a certain amount of care, and it is probably best to avoid them until you have a chance to learn about some of the appropriate strategies in Chapter 5.
在你数据库中命名和输入的“列”却被重新命名和构造,被当成了程序代码中的实体变量。
Columns that are named and typed on your database are renamed and re-typed as instance variables in your application code.
这个层次定义的变量就成为实体变量,或者简称为ivars,这些变量作为每个对象的一部分来存储。
Variables defined at this level are called instance variables, or ivars for short, and are stored as part of each object.
相比于把“列”映射成程序代码或映射文件中的实体变量,ActiveRecord是在运行中基于你的数据库schema动态生成映射的。
Rather than mapping columns to instance variables in application code or a mapping file, ActiveRecord generates them dynamically at runtime based on your database's information schema.
下一个演进是对象语言,它将状态变量结构和影响它们的操作捆绑为实体,成为类对象。
The next evolution was object languages, which bundled the state variable structures and the operations that affected them into entities called class objects.
因为数据库不支持与实体相关联的行为,领域模型最终只具有简单的变量以及相关的getter和setter方法。
Because databases do not support behavior associated with entities, the domain model ended up having simple variables with getter and setter methods for them.
在这种情况下,我们定义了变量newtask,并使用新建的Task实体实例对其进行初始化。
In this case we define a variable newTask that we initialize with a new Task entity instance.
dequeue _ task:当某个任务退出可运行状态时调用该函数,它将从红黑树中去掉对应的调度实体,并从nr_running变量中减1。
Dequeue_task: When a task is no longer runnable, this function is called to keep the corresponding scheduling entity out of the red-black tree. It decrements the nr_running variable.
数据绑定会在应用程序状态(例如本地变量或者实体属性)和用户界面之间创造出同步的关系。
Data binding creates a synchronization relationship between application state (e.g. local variables or entity properties) and the user interface.
它将调度实体(进程)放入红黑树中,并对nr_running变量加1。
It puts the scheduling entity (process) into the red-black tree and increments the nr_running variable.
在代码中没有为消息实体做显式变量声明;它是被推断出来的。
There is no explicit variable for the message instance in the code; it is inferred.
在使用全局变量之前,可以使用它们计算变量值,从而可提升其他SQL实体的性能并降低复杂性。
Global variables can be used to calculate values in advance of their use and thus speed up performance and reduce complexity in other SQL entities.
对应于主键等字段的变量在各个实体中重复出现。
Variables for fields such as primary keys were duplicated from entity to entity.
实体是用于定义普通文本快捷方式的变量。
Entities are variables used to define shortcuts to common text.
标识符用来给程序中的实体(如变量和类型)命名。
Identifiers name program entities such as variables and types.
实体名称必须与被传递的自变量相匹配。
内容包括SNMP实体的实现,模块间的协作,以及针对表示被管对象的变量绑定的处理方法。
The content includes the implementation of SNMP Entity, collaboration between modules, and the processing on Variable Bindings for managed objects.
有类型变量的实体的通用接口。
本文提出了基于变量和表达式定义的三维实体建模方法,并采用这个方法实现了一个模板工具。
The thesis develops a method of solid modelling based on defining variables and expressions and implements a template tool.
本节描述了在AM和UM实体中用到的状态变量。其中状态变量的定义都是标准的。
This subclause describes the state variables used in AM and UM entities in order to specify the RLC protocol. The state variables defined in this subclause are normative.
三维造型变量实体设计和三维装配设计已显现出明显的优势。
Variation solid design for 3d model and 3d assemble design has presented obvious advantage.
三维造型变量实体设计和三维装配设计已显现出明显的优势。
Variation solid design for 3d model and 3d assemble design has presented obvious advantage.
应用推荐