C# Class TurtleZenTaoLib.DbManage

数据存储类
Mostrar archivo Open project: easysoft/zentao_extension Class Usage Examples

Public Methods

Method Description
DbManage ( ) : System
addWebsiteInfo ( int index, string url, string user, string pass, string websiteName ) : bool

添加站点记录

deleteWebsiteInfo ( int index ) : void

删除站点记录

editWebsiteInfo ( int index, string url, string user, string pass, string websiteName ) : bool

编辑站点记录

getWebsites ( ) : List

读取站点记录

save ( ) : void

保存站点记录数据

Method Details

DbManage() public method

public DbManage ( ) : System
return System

addWebsiteInfo() public method

添加站点记录
public addWebsiteInfo ( int index, string url, string user, string pass, string websiteName ) : bool
index int
url string
user string
pass string
websiteName string
return bool

deleteWebsiteInfo() public method

删除站点记录
public deleteWebsiteInfo ( int index ) : void
index int
return void

editWebsiteInfo() public method

编辑站点记录
public editWebsiteInfo ( int index, string url, string user, string pass, string websiteName ) : bool
index int
url string
user string
pass string
websiteName string
return bool

getWebsites() public method

读取站点记录
public getWebsites ( ) : List
return List

save() public method

保存站点记录数据
public save ( ) : void
return void