C# Class BExIS.Web.Shell.Areas.DDM.Helpers.SearchUIHelper

ファイルを表示 Open project: BEXIS2/Core

Public Methods

Method Description
ConvertPrimaryDataToDatatable ( DatasetVersion dsv, IEnumerable dsVersionTuples ) : DataTable
ConvertPrimaryDataToDatatable ( DatasetVersion dsv, IEnumerable dsVersionTupleIds ) : DataTable
ConvertStructuredDataStructureToDataTable ( StructuredDataStructure sds ) : DataTable
ConvertXmlToHtml ( string m, string xslPath = "" ) : string
GetContantDescriptorFromKey ( DatasetVersion datasetVersion, string key ) : List

Private Methods

Method Description
ConvertTupleIntoDataRow ( DataTable dt, AbstractTuple t, StructuredDataStructure sts ) : DataRow

This function convert a datatuple into datarow for a datatable to show on the client side the grid in the client side (in client mode) has unknow problem with value 0 and null So every empty cell get the max value of the specific Systemtype. On the client side this values replaced with ""

GetParameterNamesAsString ( ICollection vpuList ) : string
SortVariablesOnDatastructure ( List variables, DataStructure datastructure ) : List

Method Details

ConvertPrimaryDataToDatatable() public static method

public static ConvertPrimaryDataToDatatable ( DatasetVersion dsv, IEnumerable dsVersionTuples ) : DataTable
dsv BExIS.Dlm.Entities.Data.DatasetVersion
dsVersionTuples IEnumerable
return System.Data.DataTable

ConvertPrimaryDataToDatatable() public static method

public static ConvertPrimaryDataToDatatable ( DatasetVersion dsv, IEnumerable dsVersionTupleIds ) : DataTable
dsv BExIS.Dlm.Entities.Data.DatasetVersion
dsVersionTupleIds IEnumerable
return System.Data.DataTable

ConvertStructuredDataStructureToDataTable() public static method

public static ConvertStructuredDataStructureToDataTable ( StructuredDataStructure sds ) : DataTable
sds BExIS.Dlm.Entities.DataStructure.StructuredDataStructure
return System.Data.DataTable

ConvertXmlToHtml() public static method

public static ConvertXmlToHtml ( string m, string xslPath = "" ) : string
m string
xslPath string
return string

GetContantDescriptorFromKey() public static method

public static GetContantDescriptorFromKey ( DatasetVersion datasetVersion, string key ) : List
datasetVersion BExIS.Dlm.Entities.Data.DatasetVersion
key string
return List