Class InMemoryComplexSet
- Namespace
- DevExpress.Xpo.DB.Helpers
- Assembly
- DevExpress.Xpo.v24.1.dll
public class InMemoryComplexSet : IInMemoryDataElector, IEnumerable<InMemoryComplexRow>, IEnumerable
- Inheritance
-
InMemoryComplexSet
- Implements
-
- Inherited Members
-
Constructors
InMemoryComplexSet()
public InMemoryComplexSet()
InMemoryComplexSet(int)
public InMemoryComplexSet(int capacity)
Parameters
capacity
int
Properties
Count
public int Count { get; }
Property Value
- int
this[int]
public InMemoryComplexRow this[int rowIndex] { get; }
Parameters
rowIndex
int
Property Value
- InMemoryComplexRow
TableCount
public int TableCount { get; }
Property Value
- int
Methods
AddNewRow()
public InMemoryComplexRow AddNewRow()
Returns
- InMemoryComplexRow
AddNewRow(int, InMemoryRow)
public InMemoryComplexRow AddNewRow(int tableIndex, InMemoryRow row)
Parameters
tableIndex
int
row
InMemoryRow
Returns
- InMemoryComplexRow
AddNewRow(string, InMemoryRow)
public InMemoryComplexRow AddNewRow(string tableAlias, InMemoryRow row)
Parameters
tableAlias
string
row
InMemoryRow
Returns
- InMemoryComplexRow
AddProjectionFromSet(InMemoryComplexSet)
public void AddProjectionFromSet(InMemoryComplexSet set)
Parameters
set
InMemoryComplexSet
AddRow(InMemoryComplexRow)
public void AddRow(InMemoryComplexRow row)
Parameters
row
InMemoryComplexRow
AddRows(IEnumerable<InMemoryComplexRow>)
public void AddRows(IEnumerable<InMemoryComplexRow> collection)
Parameters
collection
IEnumerable<InMemoryComplexRow>
AddTable(string, IInMemoryTable)
public int AddTable(string alias, IInMemoryTable table)
Parameters
alias
string
table
IInMemoryTable
Returns
- int
AddTableIfNotExists(string, IInMemoryTable)
public int AddTableIfNotExists(string alias, IInMemoryTable table)
Parameters
alias
string
table
IInMemoryTable
Returns
- int
Clear()
GetAliasList()
public ReadOnlyCollection<string> GetAliasList()
Returns
- ReadOnlyCollection<string>
GetEnumerator()
public IEnumerator<InMemoryComplexRow> GetEnumerator()
Returns
- IEnumerator<InMemoryComplexRow>
GetProjectionList()
public ReadOnlyCollection<string> GetProjectionList()
Returns
- ReadOnlyCollection<string>
GetTable(int)
public IInMemoryTable GetTable(int index)
Parameters
index
int
Returns
- IInMemoryTable
GetTable(string)
public IInMemoryTable GetTable(string alias)
Parameters
alias
string
Returns
- IInMemoryTable
GetTable(string, string)
public IInMemoryTable GetTable(string projectionAlias, string columnName)
Parameters
projectionAlias
string
columnName
string
Returns
- IInMemoryTable
GetTableIndex(string)
public int GetTableIndex(string alias)
Parameters
alias
string
Returns
- int
GetTableIndex(string, string)
public int GetTableIndex(string projectionAlias, string columnName)
Parameters
projectionAlias
string
columnName
string
Returns
- int
GetTableList()
public ReadOnlyCollection<IInMemoryTable> GetTableList()
Returns
- ReadOnlyCollection<IInMemoryTable>
MakeProjection(string)
public void MakeProjection(string projectionAlias)
Parameters
projectionAlias
string
Process(InMemoryDataElectorContextDescriptor)
public InMemoryComplexSet Process(InMemoryDataElectorContextDescriptor descriptor)
Parameters
descriptor
InMemoryDataElectorContextDescriptor
Returns
- InMemoryComplexSet
Randomize()
RemoveAt(int)
public void RemoveAt(int rowIndex)
Parameters
rowIndex
int
RemoveRange(int, int)
public void RemoveRange(int rowIndex, int rowCount)
Parameters
rowIndex
int
rowCount
int
Sort()
Sort(IComparer<InMemoryComplexRow>)
public void Sort(IComparer<InMemoryComplexRow> comparer)
Parameters
comparer
IComparer<InMemoryComplexRow>