C# 클래스 HYPDM.WinUI.AddObjectParams.ObjectParams

파일 보기 프로젝트 열기: huayancreate/HYPDM 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

GetDataColumnType() 공개 메소드

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

GetExtendsProperties() 공개 메소드

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

GetMastableExtandColumns() 공개 메소드

public GetMastableExtandColumns ( string masterTblname ) : DataTable
masterTblname string
리턴 System.Data.DataTable

SetColNameToCmb() 공개 메소드

public SetColNameToCmb ( System cbx ) : void
cbx System
리턴 void

SetOperations() 공개 메소드

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

getDataTableBySql() 공개 정적인 메소드

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