C# 클래스 CRL.IModel

상속: ICloneable
파일 보기 프로젝트 열기: hubro-xx/CRL2

보호된 프로퍼티들

프로퍼티 타입 설명
lockObj object

Private Properties

프로퍼티 타입 설명
CreateColumn string
GetColumns List
GetIndexScript List
GetModelKey string
GetpPrimaryKeyValue int
SetColumnDbType void
this object

공개 메소드들

메소드 설명
CheckColumnExists ( DBExtend helper ) : string

检查对应的字段是否存在,不存在则创建

CheckData ( ) : string

数据校验方法

CheckIndexExists ( DBExtend helper ) : void

检查索引

Clone ( ) : object

创建当前对象的浅表副本

CreateTable ( DBExtend helper, string &message ) : bool

创建表 会检查表是否存在,如果存在则检查字段

CreateTable ( DBExtend helper ) : string

创建表

ToJson ( ) : string

보호된 메소드들

메소드 설명
SetChanges ( string name, object value ) : void

表示值被更改了

비공개 메소드들

메소드 설명
CreateColumn ( DBExtend helper, Attribute item ) : string
GetColumns ( DBAdapter dbAdapter ) : List

获取列

GetIndexScript ( DBExtend helper ) : List
GetModelKey ( ) : string
GetpPrimaryKeyValue ( ) : int
SetColumnDbType ( DBAdapter dbAdapter, Attribute info, string>.Dictionary dic ) : void
this ( string key ) : object

메소드 상세

CheckColumnExists() 공개 메소드

检查对应的字段是否存在,不存在则创建
public CheckColumnExists ( DBExtend helper ) : string
helper DBExtend
리턴 string

CheckData() 공개 메소드

数据校验方法
public CheckData ( ) : string
리턴 string

CheckIndexExists() 공개 메소드

检查索引
public CheckIndexExists ( DBExtend helper ) : void
helper DBExtend
리턴 void

Clone() 공개 메소드

创建当前对象的浅表副本
public Clone ( ) : object
리턴 object

CreateTable() 공개 메소드

创建表 会检查表是否存在,如果存在则检查字段
public CreateTable ( DBExtend helper, string &message ) : bool
helper DBExtend
message string
리턴 bool

CreateTable() 공개 메소드

创建表
public CreateTable ( DBExtend helper ) : string
helper DBExtend
리턴 string

SetChanges() 보호된 메소드

表示值被更改了
protected SetChanges ( string name, object value ) : void
name string
value object
리턴 void

ToJson() 공개 메소드

public ToJson ( ) : string
리턴 string

프로퍼티 상세

lockObj 보호되어 있는 정적으로 프로퍼티

protected static object lockObj
리턴 object