메소드 | 설명 | |
---|---|---|
GetAddRelationSql ( |
||
GetCascadeDeleteSql ( |
||
GetCheckExistSql ( |
||
GetDeleteItemSql ( |
||
GetDeleteRelationsSql ( |
||
GetDeleteSql ( |
获得实体类对应的delete sql
|
|
GetGeneratedKeySql ( string seqName ) : string |
获得一条SQL,该SQL从数据库中查询最近一次插入操作生成的主键,此方法由子类实现
|
|
GetInsertSql ( |
获得实体类对应的表的insert sql
|
|
GetLoadColumnPropertySql ( |
||
GetLoadManyToManyPropertySql ( |
||
GetLoadManyToOnePropertySql ( |
||
GetLoadOneToManyPropertySql ( |
||
GetPagingSql ( string sqlText, int firstResult, int pageSize ) : string |
执行查询之前,对SQL命令进行预处理,此方法由子类实现
|
|
GetSelectSql ( |
获得实体类对应的select sql
|
|
GetUpdateForeignKeySql ( |
||
GetUpdateSql ( |
获得实体类对应的update sql
|
메소드 | 설명 | |
---|---|---|
AppendSelectedColumns ( StringBuilder sb, |
메소드 | 설명 | |
---|---|---|
GetSelectFromPart ( |
protected AppendSelectedColumns ( StringBuilder sb, |
||
sb | StringBuilder | |
type | ||
enableLazy | bool | |
resultMap | string>.Dictionary | |
prefix | string | |
리턴 | void |
public GetAddRelationSql ( |
||
manyToManyProp | ||
리턴 | string |
public GetCascadeDeleteSql ( |
||
oneToManyProp | ||
리턴 | string |
public GetDeleteItemSql ( |
||
oneToManyProp | ||
countLeft | int | |
리턴 | string |
public GetDeleteRelationsSql ( |
||
manyToManyProp | ||
리턴 | string |
public abstract GetGeneratedKeySql ( string seqName ) : string | ||
seqName | string | 生成主键的序列,如果此方法的实现不需要此参数,可忽略 |
리턴 | string |
public GetLoadColumnPropertySql ( |
||
prop | ||
리턴 | string |
public GetLoadManyToManyPropertySql ( |
||
prop | ||
enableLazy | bool | |
resultMap | string>.Dictionary | |
리턴 | string |
public GetLoadManyToOnePropertySql ( |
||
prop | ||
enableLazy | bool | |
resultMap | string>.Dictionary | |
리턴 | string |
public GetLoadOneToManyPropertySql ( |
||
prop | ||
enableLazy | bool | |
resultMap | string>.Dictionary | |
리턴 | string |
public abstract GetPagingSql ( string sqlText, int firstResult, int pageSize ) : string | ||
sqlText | string | 要进行预处理的SQL |
firstResult | int | 要返回的第一条结果的索引,该索引从0开始 |
pageSize | int | 返回的结果数量,若为0,则返回所有结果,不进行分页查询 |
리턴 | string |
public GetSelectSql ( |
||
type | 实体类 | |
enableLazy | bool | |
resultMap | string>.Dictionary | |
where | string | |
리턴 | string |
public GetUpdateForeignKeySql ( |
||
oneToManyProp | ||
countLeft | int | |
리턴 | string |