C# Class System.Data.Select

显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
GetRows ( ) : System.Data.DataRow[]
Select ( DataTable table, string filterExpression, string sort, DataViewRowState recordStates ) : System.Collections.Generic
SelectRows ( ) : System.Data.DataRow[]

Private Methods

Method Description
AcceptRecord ( int record ) : bool
AnalyzeExpression ( BinaryNode expr ) : void
BuildLinearExpression ( ) : void
CompareClosestCandidateIndexDesc ( System.Data.IndexField fields ) : int
CompareRecords ( int record1, int record2 ) : int
CompareSortIndexDesc ( System.Data.IndexField fields ) : bool
CreateIndex ( ) : void
Eval ( BinaryNode expr, DataRow row, DataRowVersion version ) : int
Evaluate ( int record ) : int
FindClosestCandidateIndex ( ) : bool
FindFirstMatchingRecord ( ) : int
FindLastMatchingRecord ( int lo ) : int
FindSortIndex ( ) : bool
GetBinaryFilteredRecords ( ) : Range
GetLinearFilteredRecords ( Range range ) : int[]
GetLinearFilteredRows ( Range range ) : System.Data.DataRow[]
InitCandidateColumns ( ) : void
IsOperatorIn ( ExpressionNode enode ) : bool
IsSupportedOperator ( int op ) : bool
Sort ( int left, int right ) : void

Method Details

GetRows() public method

public GetRows ( ) : System.Data.DataRow[]
return System.Data.DataRow[]

Select() public method

public Select ( DataTable table, string filterExpression, string sort, DataViewRowState recordStates ) : System.Collections.Generic
table DataTable
filterExpression string
sort string
recordStates DataViewRowState
return System.Collections.Generic

SelectRows() public method

public SelectRows ( ) : System.Data.DataRow[]
return System.Data.DataRow[]