Property | Type | Description | |
---|---|---|---|
NodeContent | byte[] | ||
NodeId | long | ||
NodeName | string | ||
ParentNodeId | long |
Property | Type | Description | |
---|---|---|---|
ContentRef | byte[] | ||
DBreezeTableName | string | ||
RootNode | |||
Transaction | DBreeze.Transactions.Transaction | ||
maximalInsertSpeed | bool | ||
nt2Read | DBreeze.DataTypes.NestedTable | ||
nt2Write | DBreeze.DataTypes.NestedTable | ||
nt3Read | DBreeze.DataTypes.NestedTable | ||
nt3Write | DBreeze.DataTypes.NestedTable |
Method | Description | |
---|---|---|
AddNode ( |
Adding children to the node Table, storing data structure, must be in tran.SynchronizeTables list. Then transaction must be Committed in the end by the programmer.
|
|
AddNodes ( IEnumerable |
Adding children to the node Table, storing data structure, must be in tran.SynchronizeTables list. Then transaction must be Committed in the end by the programmer.
|
|
CheckTransaction ( ) : void |
Internal
|
|
CopyInternals ( |
Internal
|
|
DataAsTree ( string DBreezeTableName, DBreeze tran, bool maximalInsertSpeed = false ) : System |
Initializing Root Node
|
|
DataAsTree ( string name, byte content = null ) : System |
Init nodes for insert under another node
|
|
GetChildren ( ) : IEnumerable |
Reading all children nodes
|
|
GetContent ( ) : byte[] |
GetContent of a node,
|
|
GetFirstLevelChildrenNodesByParentId ( long parentId ) : IEnumerable |
Returns first level nodes by their parent. To go depper, for every returned node can be used ReadOutAllChildrenNodesFromCurrentRecursively
|
|
GetNodeByParentIdAndNodeId ( long parentNodeId, long nodeId ) : |
Returns node by ParentIdAndNodeId
|
|
GetNodesByName ( string nameStartsWithPart ) : IEnumerable |
Returns nodes with suppled StartsWith name or complete name
|
|
ReadOutAllChildrenNodesFromCurrentRecursively ( ) : IEnumerable |
Recursively reads out all children nodes starting from this recursiverly
|
|
RemoveNode ( |
Removes node
|
|
RemoveNode ( long parentNodeId, long nodeId ) : void |
Removes node
|
|
RemoveOldNodeFromNameIndex ( string oldNodeName, byte keyToRemove ) : void |
Internal
|
|
SetupReadTables ( ) : void |
Internal
|
|
SetupWriteTables ( ) : void |
Internal
|
Method | Description | |
---|---|---|
DataAsTree ( ) : System |
Internal
|
Method | Description | |
---|---|---|
ReadOutNodes ( |
||
SetupNodeFromRow ( byte[]>.DBreeze |
Internal
|
|
SetupValueRowFromNode ( |
Internal
|
public AddNode ( |
||
node | ||
return |
public AddNodes ( IEnumerable |
||
nodes | IEnumerable |
Nodes to add to current node |
return | void |
public CopyInternals ( |
||
node | ||
return | void |
public DataAsTree ( string DBreezeTableName, DBreeze tran, bool maximalInsertSpeed = false ) : System | ||
DBreezeTableName | string | Real table name in DBreeze, that will hold the structure, must be synchronized with other tables in transaction |
tran | DBreeze | |
maximalInsertSpeed | bool | will use DBreeze Technical_SetTable_OverwriteIsNotAllowed among transaction for DBreezeTableName |
return | System |
public DataAsTree ( string name, byte content = null ) : System | ||
name | string | |
content | byte | optionaly can supply NodeContent |
return | System |
public GetFirstLevelChildrenNodesByParentId ( long parentId ) : IEnumerable |
||
parentId | long | |
return | IEnumerable |
public GetNodeByParentIdAndNodeId ( long parentNodeId, long nodeId ) : |
||
parentNodeId | long | |
nodeId | long | |
return |
public GetNodesByName ( string nameStartsWithPart ) : IEnumerable |
||
nameStartsWithPart | string | |
return | IEnumerable |
public ReadOutAllChildrenNodesFromCurrentRecursively ( ) : IEnumerable |
||
return | IEnumerable |
public RemoveNode ( long parentNodeId, long nodeId ) : void | ||
parentNodeId | long | |
nodeId | long | |
return | void |
public RemoveOldNodeFromNameIndex ( string oldNodeName, byte keyToRemove ) : void | ||
oldNodeName | string | |
keyToRemove | byte | |
return | void |
protected DataAsTree,DBreeze.DataStructures RootNode | ||
return |
protected DBreeze.Transactions.Transaction Transaction | ||
return | DBreeze.Transactions.Transaction |
protected DBreeze.DataTypes.NestedTable nt2Read | ||
return | DBreeze.DataTypes.NestedTable |
protected DBreeze.DataTypes.NestedTable nt2Write | ||
return | DBreeze.DataTypes.NestedTable |
protected DBreeze.DataTypes.NestedTable nt3Read | ||
return | DBreeze.DataTypes.NestedTable |