C# Class HYPDM.WinUI.SysConfig.sys

Show file Open project: huayancreate/HYPDM

Public Methods

Method Description
GetDataTableForParams ( DataType RelationObjectType ) : DataTable

获取指定对象的属性栏位列表

GetTableName ( DataType RelationObjectType ) : string

根据RelationObjectType类型获取对应的主表名称及form

UpdateExtPro ( HYPDM p_oldValue, HYPDM p_newValue ) : void
getDataTableBySql ( String fields, string where, string tableName ) : DataTable

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

Method Details

GetDataTableForParams() public method

获取指定对象的属性栏位列表
public GetDataTableForParams ( DataType RelationObjectType ) : DataTable
RelationObjectType DataType
return System.Data.DataTable

GetTableName() public method

根据RelationObjectType类型获取对应的主表名称及form
public GetTableName ( DataType RelationObjectType ) : string
RelationObjectType DataType DataType.RelationObjectTyp
return string

UpdateExtPro() public method

public UpdateExtPro ( HYPDM p_oldValue, HYPDM p_newValue ) : void
p_oldValue HYPDM
p_newValue HYPDM
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