C# Class HYPDM.WinUI.AddObjectParams.ObjectParams

Exibir arquivo Open project: huayancreate/HYPDM Class Usage Examples

Public Methods

Method 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 method

public GetDataColumnType ( string masterTblname, string colName ) : DataType.DataColumnType
masterTblname string
colName string
return DataType.DataColumnType

GetExtendsProperties() public method

public GetExtendsProperties ( string masterTableName, string pkValue, string pkId ) : DataTable
masterTableName string
pkValue string
pkId string
return System.Data.DataTable

GetMastableExtandColumns() public method

public GetMastableExtandColumns ( string masterTblname ) : DataTable
masterTblname string
return System.Data.DataTable

SetColNameToCmb() public method

public SetColNameToCmb ( System cbx ) : void
cbx System
return void

SetOperations() public method

public SetOperations ( string masterTblname, string colName, System cmbOper ) : void
masterTblname string
colName string
cmbOper System
return void

getDataTableBySql() public static method

给定列名,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
return System.Data.DataTable