The Model class has two public vars.
model类有两个公共var。
To do this, call the corresponding method in the Model class.
为此,可调用model类中相应的方法。
How do I set up my model class for nested JSON responses?
如何设置我的模型类嵌套json响应?
I have only used Numbers and strings as variables in the model class.
我只使用数字和字符串作为模型中的类变量。
I carefully prepared a second model class, finally got the recognition.
但我精心准备了第二次示范课,这次终于得到了表扬。
To design a TableViewer demo application, you must create a data model class.
要设计TableViewer演示应用程序,您必须创建数据模型类。
Listing 1 gives a simple example of a service interface, and a root data model class.
清单1给出了一个服务接口和根数据模型类的简单例子。
If a matching table is found, DrySQL will automatically generate a model class for it.
如果找到了一个匹配的表格,DrySQL会自动为它生成一个模型类。
Now, this is a reasonable amount of what we want a model class to do, all in two lines of code.
现在,只需要两行代码就可以让模型类合理完成我期望它完成的事情。
Because the migration already contains the columns, why should you list them again in the model class?
由于迁移早已包含了列,为什么还要在模型类中再次将它们列出来呢?
All but the most trivial applications will find that controllers sometimes interact with more than one model class.
在很多应用中,一个控制器可能同时与多个模型类进行交互。
The model class holds the essential business logic and manages the data corresponding to that part of the application.
模型类存放实际的业务逻辑,并管理与应用程序部分对应的数据。
Now that the request has cleared all the checks and hurdles, it's ready to be handed off to the model class for processing.
既然请求已经通过了所有检查和障碍,它就可以交给模型类来处理了。
If your table name is compatible with the naming conventions, then you don't even need to define a model class to map it to.
如果表格的名字与命名规则是一致的,那你就不用定义模型类来映射了。
I like things that don't take up very much code, so Maypole currently uses a model class system based on Class::DBI::Loader.
我喜欢不用很多代码就能实现的东西,因此Mayple当前使用了一个基于Class::DBI::Loader 的模型类系统。
The model represents the data stored in the database with each table having a corresponding ActiveRecord model class in Ruby.
模型表示数据库中存储的数据,每个表在Ruby 中都有一个对应的ActiveRecord 模型类。
Now we have covered everything in the Model class, so we are ready to move on to parsing the data that comes back from Flickr.
现在我们已经了解了model类中的所有内容,接下来我们继续解析来自Flickr的数据。
First, you ask Streamlined to generate an application template and a holder for the metadata for each model class you specify.
首先,要求Streamlined生成应用程序模板和所指定的每个模型类的元数据的占位器。
The first live demo is about Ruby2Ruby (6:28) and turns a Rails model class back into ruby code to see the magic Rails worked.
首先演示了一个关于Ruby2Ruby的例子(6:28),然后把一个Rails模型类转变成ruby代码,由此看看神奇的Rails是如何运作的。
You will usually find at least one relation per model class, starting from a relation that relates the top-level model classes.
通常你会在每个模型类中找到至少一个关联,从联系顶级模型类的关联开始。
First, an efficient approximate Bayesian model class selection scheme is used to estimate the number of concurrent events.
首先,使用一个有效的近似贝叶斯模型类的选择方案来估计并发事件数目。
DrySQL retrieves your table's constraint definitions, and USES them to automatically generate associations for your model class.
DrySQL会提取表格中的约束定义,并用它们自动生成模型类的关联。
Network in accordance with the importation of samples for self-organization, and its division into the corresponding model class.
网络根据输入样本进行自组织,并将其划分到相应的模式类中。
For the above referenced ancestors attribute to be valid, the Category model class needs to be modified to include a _get_ancestors method.
上面引用的ancestors属性要想有效,Category模型类需要修改成包含一个_ get _ ancestors方法。
This section describes some basic concepts that are central to the way item of data are accessed by other components via a model class.
这一章节讲解了一些关于其它部件通过使用模型类存取数据项的核心基本概念。
Her English classes have been recognized and classified as "Model class" by the Country Garden School as well as the Local Teaching Bureau.
教学能力突出,曾获顺德区民办小学英语教学优秀课例奖等。
The square brackets denote a parameterized class in Scala, and in this case, it takes the type of the ID and the type of the actual model class.
在Scala 中,方括号表示参数化的类;在这里,参数是ID的类型和实际模型类的类型。
You can bind a model class to an XWT UI while, at the same time, the data field in the model object will be automatically fed to the UI controls.
可以将一个模型类绑定到一个XWTUI,而同时,模型对象中的数据字段会被自动地提供给UI控件。
This means creating the model class and services, and feeding them configuration information at startup, and later if there are configuration changes.
这意味着创建模型类和服务,并在启动阶段向它们提供配置信息,如果配置改变的话,还将在后面的阶段提供配置信息。
You need to implement the methods in your table model class, so the JTable bean can access the data in the model and present it in its view of the table.
您需要在表格模型类中实现这些方法,这样,JTablebean就可以访问模型中的数据,并在表格视图中显示出来。
应用推荐