首页> 外国专利> Fluent API patterns for managing object persistence

Fluent API patterns for managing object persistence

机译:流利的API模式,用于管理对象持久性

摘要

Fluent API Patterns promote balance in managing object persistence. Code which obtains an object-relational mapper session contains API Patterns that manipulate persistence ignorant objects using calls to a fluent interface. When the developer's code executes, it may manipulate an object state, a property state, and/or a persistent relationship of the persistence ignorant object. The code may implement API Patterns such as find-change-save, current-value-original-value, nested-property, incremental-graph-load, incremental-graph-filtered-load, property-modification, dictionary, and/or other API Patterns. Additional examples of API Patterns include an API Pattern to read current, original, and database values for all properties of an entity; an API Pattern to set current and/or original values from another object; and an API Pattern to create a cloned object containing current, original, and/or database values. In any or all of these situations, the API Pattern calls to the fluent interface may be written in a strongly typed language.
机译:流利的API模式可促进平衡管理对象持久性。获取对象关系映射器会话的代码包含API模式,这些模式使用对流利接口的调用来操纵持久性无知的对象。当开发人员的代码执行时,它可以操纵对象状态,属性状态和/或持久性无知对象的持久性关系。该代码可以实现API模式,例如查找更改保存,当前值原始值,嵌套属性,增量图加载,增量图过滤后加载,属性修改,字典和/或其他API模式。 API模式的其他示例包括一个API模式,用于读取实体所有属性的当前值,原始值和数据库值; API模式,用于设置另一个对象的当前和/或原始值; API模式,以创建包含当前,原始和/或数据库值的克隆对象。在任何或所有这些情况下,可以使用强类型语言编写对流畅接口的API模式调用。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号