Class DataSetStoreHelpersFull
- Namespace
- DevExpress.Xpo.DB.Helpers
- Assembly
- DevExpress.Xpo.v24.1.dll
public class DataSetStoreHelpersFull
- Inheritance
-
DataSetStoreHelpersFull
- Inherited Members
-
Methods
CreateIfNotExists(InMemorySet, DBTable)
public static InMemoryTable CreateIfNotExists(InMemorySet inMemorySet, DBTable table)
Parameters
inMemorySet
InMemorySet
table
DBTable
Returns
- InMemoryTable
CreateIfNotExists(InMemoryTable, DBColumn)
public static void CreateIfNotExists(InMemoryTable table, DBColumn dbObj)
Parameters
table
InMemoryTable
dbObj
DBColumn
CreateIfNotExists(InMemoryTable, DBForeignKey)
public static void CreateIfNotExists(InMemoryTable table, DBForeignKey dbObj)
Parameters
table
InMemoryTable
dbObj
DBForeignKey
CreateIfNotExists(InMemoryTable, DBIndex)
public static string CreateIfNotExists(InMemoryTable table, DBIndex dbObj)
Parameters
table
InMemoryTable
dbObj
DBIndex
Returns
- string
CreateIfNotExists(InMemoryTable, DBPrimaryKey)
public static void CreateIfNotExists(InMemoryTable table, DBPrimaryKey dbObj)
Parameters
table
InMemoryTable
dbObj
DBPrimaryKey
DoDeleteRecord(IInMemoryPlanner, InMemoryTable, CriteriaOperator, bool, ICollection<ICustomFunctionOperator>)
public static int DoDeleteRecord(IInMemoryPlanner planner, InMemoryTable table, CriteriaOperator condition, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions)
Parameters
planner
IInMemoryPlanner
table
InMemoryTable
condition
CriteriaOperator
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
Returns
- int
DoDeleteRecord(IInMemoryPlanner, InMemoryTable, CriteriaOperator, bool, ICollection<ICustomFunctionOperator>, ICollection<ICustomAggregate>)
public static int DoDeleteRecord(IInMemoryPlanner planner, InMemoryTable table, CriteriaOperator condition, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions, ICollection<ICustomAggregate> customAggregates)
Parameters
planner
IInMemoryPlanner
table
InMemoryTable
condition
CriteriaOperator
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
customAggregates
ICollection<ICustomAggregate>
Returns
- int
DoGetData(IInMemoryDataElector, InMemoryDataElectorContextDescriptor, ExpressionEvaluator[], SortingComparerFull, int, int)
public static SelectStatementResult DoGetData(IInMemoryDataElector dataElector, InMemoryDataElectorContextDescriptor descriptor, ExpressionEvaluator[] dataEvaluators, SortingComparerFull sortingComparer, int skipRecords, int topRecords)
Parameters
dataElector
IInMemoryDataElector
descriptor
InMemoryDataElectorContextDescriptor
dataEvaluators
ExpressionEvaluator[]
sortingComparer
SortingComparerFull
skipRecords
int
topRecords
int
Returns
- SelectStatementResult
DoGetGroupedData(IInMemoryDataElector, InMemoryDataElectorContextDescriptor, ExpressionEvaluator[], ExpressionEvaluator, SortingListComparerFull, int, int, ExpressionEvaluator[])
public static SelectStatementResult DoGetGroupedData(IInMemoryDataElector dataElector, InMemoryDataElectorContextDescriptor descriptor, ExpressionEvaluator[] groupEvaluators, ExpressionEvaluator havingEvaluator, SortingListComparerFull sortingComparer, int skipRecords, int topRecords, ExpressionEvaluator[] dataEvaluators)
Parameters
dataElector
IInMemoryDataElector
descriptor
InMemoryDataElectorContextDescriptor
groupEvaluators
ExpressionEvaluator[]
havingEvaluator
ExpressionEvaluator
sortingComparer
SortingListComparerFull
skipRecords
int
topRecords
int
dataEvaluators
ExpressionEvaluator[]
Returns
- SelectStatementResult
DoGetGroupedDataCore(ExpressionEvaluator[], ExpressionEvaluator, SortingListComparerFull, int, int, InMemoryComplexSet, bool)
public static List<List<InMemoryComplexRow>> DoGetGroupedDataCore(ExpressionEvaluator[] groupEvaluators, ExpressionEvaluator havingEvaluator, SortingListComparerFull sortingComparer, int skipRecords, int topRecords, InMemoryComplexSet rows, bool doRandomizeIfNoSorting)
Parameters
groupEvaluators
ExpressionEvaluator[]
havingEvaluator
ExpressionEvaluator
sortingComparer
SortingListComparerFull
skipRecords
int
topRecords
int
rows
InMemoryComplexSet
doRandomizeIfNoSorting
bool
Returns
- List<List<InMemoryComplexRow>>
DoInsertRecord(InMemoryTable, QueryParameterCollection, CriteriaOperatorCollection, ParameterValue, TaggedParametersHolder)
public static int DoInsertRecord(InMemoryTable table, QueryParameterCollection parameters, CriteriaOperatorCollection operands, ParameterValue identityParameter, TaggedParametersHolder identitiesByTag)
Parameters
table
InMemoryTable
parameters
QueryParameterCollection
operands
CriteriaOperatorCollection
identityParameter
ParameterValue
identitiesByTag
TaggedParametersHolder
Returns
- int
DoUpdateRecord(IInMemoryPlanner, InMemoryTable, QueryParameterCollection, CriteriaOperatorCollection, TaggedParametersHolder, CriteriaOperator, bool, ICollection<ICustomFunctionOperator>)
public static int DoUpdateRecord(IInMemoryPlanner planner, InMemoryTable table, QueryParameterCollection parameters, CriteriaOperatorCollection operands, TaggedParametersHolder identitiesByTag, CriteriaOperator condition, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions)
Parameters
planner
IInMemoryPlanner
table
InMemoryTable
parameters
QueryParameterCollection
operands
CriteriaOperatorCollection
identitiesByTag
TaggedParametersHolder
condition
CriteriaOperator
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
Returns
- int
DoUpdateRecord(IInMemoryPlanner, InMemoryTable, QueryParameterCollection, CriteriaOperatorCollection, TaggedParametersHolder, CriteriaOperator, bool, ICollection<ICustomFunctionOperator>, ICollection<ICustomAggregate>)
public static int DoUpdateRecord(IInMemoryPlanner planner, InMemoryTable table, QueryParameterCollection parameters, CriteriaOperatorCollection operands, TaggedParametersHolder identitiesByTag, CriteriaOperator condition, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions, ICollection<ICustomAggregate> customAggregates)
Parameters
planner
IInMemoryPlanner
table
InMemoryTable
parameters
QueryParameterCollection
operands
CriteriaOperatorCollection
identitiesByTag
TaggedParametersHolder
condition
CriteriaOperator
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
customAggregates
ICollection<ICustomAggregate>
Returns
- int
GetAllNodes(JoinNode)
public static List<DataSetStoreHelpersFull.NodeInfo> GetAllNodes(JoinNode node)
Parameters
node
JoinNode
Returns
- List<DataSetStoreHelpersFull.NodeInfo>
GetResultRow(InMemoryComplexRow, ExpressionEvaluator[])
public static object[] GetResultRow(InMemoryComplexRow row, ExpressionEvaluator[] evaluators)
Parameters
row
InMemoryComplexRow
evaluators
ExpressionEvaluator[]
Returns
- object[]
GetResultRow(List<InMemoryComplexRow>, ExpressionEvaluator[])
public static object[] GetResultRow(List<InMemoryComplexRow> rows, ExpressionEvaluator[] evaluators)
Parameters
rows
List<InMemoryComplexRow>
evaluators
ExpressionEvaluator[]
Returns
- object[]
GetTable(InMemorySet, string)
public static InMemoryTable GetTable(InMemorySet dataSet, string tableName)
Parameters
dataSet
InMemorySet
tableName
string
Returns
- InMemoryTable
PrepareDataEvaluator(CriteriaOperator, EvaluatorContextDescriptor, bool, ICollection<ICustomFunctionOperator>)
public static ExpressionEvaluator PrepareDataEvaluator(CriteriaOperator operand, EvaluatorContextDescriptor descriptor, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions)
Parameters
operand
CriteriaOperator
descriptor
EvaluatorContextDescriptor
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
Returns
- ExpressionEvaluator
PrepareDataEvaluator(CriteriaOperator, EvaluatorContextDescriptor, bool, ICollection<ICustomFunctionOperator>, ICollection<ICustomAggregate>)
public static ExpressionEvaluator PrepareDataEvaluator(CriteriaOperator operand, EvaluatorContextDescriptor descriptor, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions, ICollection<ICustomAggregate> customAggregates)
Parameters
operand
CriteriaOperator
descriptor
EvaluatorContextDescriptor
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
customAggregates
ICollection<ICustomAggregate>
Returns
- ExpressionEvaluator
PrepareDataEvaluators(CriteriaOperatorCollection, EvaluatorContextDescriptor, bool, ICollection<ICustomFunctionOperator>)
public static ExpressionEvaluator[] PrepareDataEvaluators(CriteriaOperatorCollection operands, EvaluatorContextDescriptor descriptor, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions)
Parameters
operands
CriteriaOperatorCollection
descriptor
EvaluatorContextDescriptor
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
Returns
- ExpressionEvaluator[]
PrepareDataEvaluators(CriteriaOperatorCollection, EvaluatorContextDescriptor, bool, ICollection<ICustomFunctionOperator>, ICollection<ICustomAggregate>)
public static ExpressionEvaluator[] PrepareDataEvaluators(CriteriaOperatorCollection operands, EvaluatorContextDescriptor descriptor, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions, ICollection<ICustomAggregate> customAggregates)
Parameters
operands
CriteriaOperatorCollection
descriptor
EvaluatorContextDescriptor
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
customAggregates
ICollection<ICustomAggregate>
Returns
- ExpressionEvaluator[]
PrepareSortingComparer(QuerySortingCollection, EvaluatorContextDescriptor, bool, ICollection<ICustomFunctionOperator>)
public static SortingComparerFull PrepareSortingComparer(QuerySortingCollection sortProperties, EvaluatorContextDescriptor descriptor, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions)
Parameters
sortProperties
QuerySortingCollection
descriptor
EvaluatorContextDescriptor
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
Returns
- SortingComparerFull
PrepareSortingComparer(QuerySortingCollection, EvaluatorContextDescriptor, bool, ICollection<ICustomFunctionOperator>, ICollection<ICustomAggregate>)
public static SortingComparerFull PrepareSortingComparer(QuerySortingCollection sortProperties, EvaluatorContextDescriptor descriptor, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions, ICollection<ICustomAggregate> customAggregates)
Parameters
sortProperties
QuerySortingCollection
descriptor
EvaluatorContextDescriptor
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
customAggregates
ICollection<ICustomAggregate>
Returns
- SortingComparerFull
PrepareSortingListComparer(QuerySortingCollection, EvaluatorContextDescriptor, bool, ICollection<ICustomFunctionOperator>)
public static SortingListComparerFull PrepareSortingListComparer(QuerySortingCollection sortProperties, EvaluatorContextDescriptor descriptor, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions)
Parameters
sortProperties
QuerySortingCollection
descriptor
EvaluatorContextDescriptor
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
Returns
- SortingListComparerFull
PrepareSortingListComparer(QuerySortingCollection, EvaluatorContextDescriptor, bool, ICollection<ICustomFunctionOperator>, ICollection<ICustomAggregate>)
public static SortingListComparerFull PrepareSortingListComparer(QuerySortingCollection sortProperties, EvaluatorContextDescriptor descriptor, bool caseSensitive, ICollection<ICustomFunctionOperator> customFunctions, ICollection<ICustomAggregate> customAggregates)
Parameters
sortProperties
QuerySortingCollection
descriptor
EvaluatorContextDescriptor
caseSensitive
bool
customFunctions
ICollection<ICustomFunctionOperator>
customAggregates
ICollection<ICustomAggregate>
Returns
- SortingListComparerFull
QueryTable(InMemorySet, string)
public static InMemoryTable QueryTable(InMemorySet dataSet, string tableName)
Parameters
dataSet
InMemorySet
tableName
string
Returns
- InMemoryTable