清单2显示了这个数据库封装类的代码。
对于SOA方法,服务封装了其获取数据的方式,无论是从某个数据库中检索,还是通过计算来获得。
With the SOA approach, a service encapsulates how it derives the data, whether by retrieval from a database or by computation.
这些对象是包含身份验证信息的表和封装了服务器逻辑(针对数据库表执行)的存储过程。
These objects are tables containing authentication information and stored procedures that encapsulate the server logic to operate on the database tables.
您还可以把数据库管理代码放到一个单独的类中以封装这类功能,如清单3所示。
You can also place database-management code in a separate class to encapsulate this type of functionality, as shown in Listing 3.
系统中的所有数据库访问都通过DAO进行以实现封装。
All database access in the system is made through a DAO to achieve encapsulation.
持久性类封装对持久性存储的访问,包括关系数据库、平面文件和对象库。
Persistence classes encapsulate access to your persistent stores, including relational databases, flat files, and object bases.
数据库模型:封装供此特定项目使用的逻辑和物理数据设计。
Database model: Encapsulates a logical and physical database design for this specific project.
现在,您有一个完全封装的业务对象,它可以处理自己的数据库交互。
You now have a fully encapsulated business object that handles its own database interaction.
获取、解析和修改XML文档的过程也可以封装在数据库服务器上运行的存储过程中。
This process of retrieving, parsing, and changing an XML document can also be encapsulated in a stored procedure that runs on the database server.
随着数据库增长,封装在T - SQL中的业务逻辑数量变化相当明显,有时候甚至在重要性方面胜过普通代码。
As databases grow, the amount of business logic encapsulated in T-SQL becomes quite significant, sometimes even overwhelming 'normal' code in importance.
为了进一步增强DB 2系列的价值主张,DB 2封装包括跨整个IBM关系数据库产品组合的联合功能。
To further enhance the DB2 family value proposition, DB2 packaging includes federation across the entire IBM relational database portfolio.
它们提供了一种封装数据库访问和业务逻辑的方法,这样就可以在多台服务器上实现分发了。
They provide a way to wrap database access and business logic, so they can be distributed on multiple servers.
所有信息封装在一个st_geometry值中,这意味着这个值在数据库中也需要大约1MB的磁盘空间。
All this information is encapsulated in an ST_Geometry value, implying that this value also needs about one MB disk space in the database.
样例应用程序使用了一个dbhelper类来封装一些数据库操作(参见清单9)。
For the sample application, a DBHelper class is used to encapsulate some of the database operations (see Listing 9).
最后,您将拥有封装所有数据库交互的强类型DataSet的一个子代。
In the end, you will have a descendent of a strongly typed DataSet that encapsulates all of the database interaction.
bosession类提供创建该类的实例的静态工厂方法,封装用来访问Notes数据库的NotesSession实例。
The BOSession class offers static factory methods to create an instance of this class which encapsulates a Notes Session instance used to access the Notes database.
这大大简化了Web应用程序(通过封装差别,在一个通用的API 下支持不同的数据库供应商)的创建。
This greatly simplifies creating Web applications designed to support different database vendors by encapsulating the differences under a common API.
EJB和封装数据库访问。
预封装应用程序中所使用的用户和组信息可以与应用程序数据一同分布在DB2数据库中。
User and group information used in pre-packaged applications can be distributed within a DB2 database alongside the application data.
存储过程对于在服务器上封装应用程序逻辑和数据库访问很有价值。
Stored procedures are valuable for encapsulating application logic and database access on the server.
如果出现数据库连接错误,文本输出不需要封装到任何标记中,因为简单输出无需任何标记即可在此电话上正确显示。
The text output in the case of an error making the connection to the database is not wrapped in any kind of markup because simple output displays correctly on the phone without the markup.
我们先看代码的上面部分,站点使用了大量的内部例程,其中一个用于封装数据库事务。
Starting at the top, the site uses a number of internal routines, including one that wraps database transactions.
清单5中的类完全封装了一个用于存储股票信息的SQLite数据库。
The class in Listing 5 completely encapsulates a SQLite database used for storing stock information.
Slice的主要设计目标是封装存储环境,以便于应用程序代码能够与在典型的单数据库中使用的代码保持一致。
The major design goal of Slice was to encapsulate the storage environment such that the application code remains exactly the same as in a typical single database usage.
在本例中,我们将遵循activeRecord模式并用能够执行所有数据库操作的类封装数据库行。
In this case, we will follow the Active Record pattern and wrap a database row with a class capable of all database operations. Its code is shown below.
封装了ODBC和OCI的通用数据库接口,可以实现异构数据库的互连,同时可以提高系统的性能。
Encapsulated with ODBC and OCI, the UDB CLI can not only interconnect the heterogeneous database but also improve the performance of the system.
一个类型化数据集,该数据集封装您在数据库中所连接到的数据表。
A typed dataset that encapsulates the data tables that you connected to in the database.
新的方案将对数据库的操作统一封装到了WCF服务里面,而把断网后对服务的调用包装成为了客户端本地的消息。
The new program encapsulates operations of the database in WCF service and packages the client's calling for the service into the local messages.
利用存储过程来封装数据库操作,避免了冗余代码,从而大大提高了开发效率。
By means of the stored procedure to encapsulate database operation, avoiding redundancy encoding so that developing efficiency can be greatly improved.
利用存储过程来封装数据库操作,避免了冗余代码,从而大大提高了开发效率。
By means of the stored procedure to encapsulate database operation, avoiding redundancy encoding so that developing efficiency can be greatly improved.
应用推荐