AndBase开发框架  1.5.7
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | 所有成员列表
com.ab.db.orm.annotation.Relations接口 参考abstract

Public 成员函数

abstract String name ()
 
abstract String foreignKey ()
 
abstract String type ()
 
abstract String action () default"query_insert"
 

详细描述

The Interface Relations. 表示关联表

成员函数说明

abstract String com.ab.db.orm.annotation.Relations.action ( )
pure virtual

关联类型.

返回
the string query insert query_insert
abstract String com.ab.db.orm.annotation.Relations.foreignKey ( )
pure virtual

外键.

返回
the string
abstract String com.ab.db.orm.annotation.Relations.name ( )
pure virtual

关联名,对象内唯一即可.

返回
the string
abstract String com.ab.db.orm.annotation.Relations.type ( )
pure virtual

关联类型.

返回
the string one2one one2many many2many

该接口的文档由以下文件生成: