C# Class HYPDM.WinUI.AddObjectParams.ObjectParams

Afficher le fichier Open project: huayancreate/HYPDM Class Usage Examples

Méthodes publiques

Méthode Description
GetDataColumnType ( string masterTblname, string colName ) : DataType.DataColumnType
GetExtendsProperties ( string masterTableName, string pkValue, string pkId ) : DataTable
GetMastableExtandColumns ( string masterTblname ) : DataTable
SetColNameToCmb ( System cbx ) : void
SetOperations ( string masterTblname, string colName, System cmbOper ) : void
getDataTableBySql ( String fields, string where, string tableName ) : DataTable

给定列名,where条件,及表明返回datatable

Method Details

GetDataColumnType() public méthode

public GetDataColumnType ( string masterTblname, string colName ) : DataType.DataColumnType
masterTblname string
colName string
Résultat DataType.DataColumnType

GetExtendsProperties() public méthode

public GetExtendsProperties ( string masterTableName, string pkValue, string pkId ) : DataTable
masterTableName string
pkValue string
pkId string
Résultat System.Data.DataTable

GetMastableExtandColumns() public méthode

public GetMastableExtandColumns ( string masterTblname ) : DataTable
masterTblname string
Résultat System.Data.DataTable

SetColNameToCmb() public méthode

public SetColNameToCmb ( System cbx ) : void
cbx System
Résultat void

SetOperations() public méthode

public SetOperations ( string masterTblname, string colName, System cmbOper ) : void
masterTblname string
colName string
cmbOper System
Résultat void

getDataTableBySql() public static méthode

给定列名,where条件,及表明返回datatable
public static getDataTableBySql ( String fields, string where, string tableName ) : DataTable
fields String 需要查询出来的字段,sample:fields1,field2,field3
where string 查询条件,sample: where 1=1 and a1='jjj' order by CreateDate asc
tableName string 查询的表名,sample:DOC_FILE_LIST
Résultat System.Data.DataTable