图2给出扩展的BaseDao接口,它支持按示例查询功能。
Figure 2 shows the BaseDao interface, which has been extended to support query-by-example functionality.
这可能会导致代码示例不能按原样编译。
作为示例,让我们计算一下按办公室分组的员工数量,换句话说,就是各办公室中的员工数量。
As an example, let's count employees grouped by office, in other words, the number of employees in each office.
这个示例使用单元测试来验证每件事都按预期工作。
This example USES a unit test to verify that everything works as expected.
它是按原样提供的,没有进一步的支持,与实际产品附带的邮件模板示例相似。
It is provided on an as-is basis, without further support, similar to the sample mail template shipped with the actual product.
在DB 2启动之后,按任意键继续示例应用程序。
After DB2 starts, press any key to resume the sample application.
除了显示针对不同页面的请求外,该示例报告还应该按经过身份验证的不同用户来显示请求。
In addition to showing requests to different pages, the example report should also show requests by different, authenticated users.
我们来通过一些代码示例按顺序看一下每个类。
Let's take a look at each class in turn with some code examples.
在这个示例中,[tab]表示按tab键。
在下面这个示例中,按升序显示结果。
In the following sample, display the results in ascending order.
在数据库示例中,使用GMan帮助操作或从任何视图按f 1就可以查看定制类的全部文档。
In the sample database, use the GMan help action or press F1 from any view to see full documentation of the custom classes.
本文为您介绍整个ToDo -List应用程序的创建过程,还提供了示例应用程序的下载,以帮助您按文章逐步操作。
This article guides you through the creation of the ToDo-List application, but also provides a download of the sample application to help you follow along.
在我们的示例中,在调试透视图显示之后马上按F5,就会突出显示bootstrap . inc文件中drupal_bootstrap的第一行。
In our example, pressing F5 just after the debug perspective displays causes the first line of the drupal_bootstrap function within the bootstrap.inc file to display.
按以下步骤部署和运行示例
To deploy and run the sample, complete the following steps below
如果处于非xpage设计元素中,您可以按以下公式中显示的形式应用LotusNotesURL(此示例是视图中的一个操作)。
If you are in a non-XPage design element, you can apply a Lotus Notes URL of the form shown in the following formula (this sample is an action in a view).
按以下步骤将它引入到这个示例portlet项目。
Do the following steps to introduce it into this sample portlet project.
示例:使用derby创建所需数据库表,按以下步骤操作。
Example: To create the required database tables using Derby follow the steps below.
获得结果之后,可以按如下方法获得每条记录(我们将ContactCard用做示例)。
After getting the result, we could get each record as follows (we'll use ContactCard as our example).
示例应用程序:按地点的天气预报。
在此示例中,按字母表次序返回workdept列和由逗号分隔的姓氏列表。
In the example, the workdept column, and a list of last names separated by commas would be returned in alphabetical order.
然后与前面一样,按下E,并移到内核那一行(在我的示例中是kernel /vmlinuz-2.4.18-14 roroot=LABEL=/)。
Then as before, press E and move to the kernel line (in my example, this is kernel /vmlinuz-2.4.18-14 ro root=LABEL=/).
使用示例代码,按如下方法测试引用附件。
Using the sample code, test your referenced attachments as follows.
现在尝试一个简单的示例,它在您每次按下按钮时通过调试过程输出“Hello World !”
Now let's try a simple example that prints "Hello World!" through a debug process each time you press a button.
示例代码xmlcheckconstraint . db 2演示了如何为具有相同结构的不同表创建视图,该视图可以进行检查约束,以及按模式对表进行划分。
The sample code xmlcheckconstraint.db2 demonstrates how users can create a view on the different tables with same structure with check constraints and implement partitioning of tables by schema.
将几种原料的裂解按此优化方法进行了示例计算。
A mathematical method for optimizing feedstock case was proposed and calculation examples were given.
设置你商店的所有商品按同一折扣出售,示例设置为减20%。
To provide a set percentage off everything in your store follow these settings. This example shows the settings for 20% off.
设置你商店的某一类商品按同一折扣出售,示例设置某一类商品价格减20%。
To provide a set percentage off the items in just one category in your store follow these Settings. This example shows the Settings for 20% off a single category.
一些技术章节也包含“演练”主题和代码示例,这些主题按顺序描述完成较大型的方案所需要的一组相关任务。
Several technology sections also contain topics that describe, in sequence, a set of related tasks required to complete a larger scenario (" Walkthrough "topics), with code examples.
按所示例句重写下列句子。
下面的示例将按索引移除特定列。
The following example gets the number of columns currently hosted by the table.
应用推荐