C# Class IndexViewer.BaseSearchResultCollection

Collection of results.
Exibir arquivo Open project: JimmieOverby/IndexViewer

Public Methods

Method Description
AsDataTable ( ICollection fields ) : DataTable

Converts the SearchResult to a datatable

AsDataTable ( ICollection fields, bool excludeEmpty ) : DataTable

Protected Methods

Method Description
AddColumns2Table ( DataTable table, ICollection fields ) : void
AddRows2Table ( DataTable table, ICollection fields ) : void
DeleteEmptyColumns ( DataTable table ) : void

Method Details

AddColumns2Table() protected method

protected AddColumns2Table ( DataTable table, ICollection fields ) : void
table System.Data.DataTable
fields ICollection
return void

AddRows2Table() protected abstract method

protected abstract AddRows2Table ( DataTable table, ICollection fields ) : void
table System.Data.DataTable
fields ICollection
return void

AsDataTable() public method

Converts the SearchResult to a datatable
public AsDataTable ( ICollection fields ) : DataTable
fields ICollection
return System.Data.DataTable

AsDataTable() public method

public AsDataTable ( ICollection fields, bool excludeEmpty ) : DataTable
fields ICollection
excludeEmpty bool
return System.Data.DataTable

DeleteEmptyColumns() protected method

protected DeleteEmptyColumns ( DataTable table ) : void
table System.Data.DataTable
return void