Click here to Skip to main content
15,886,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to Read RPM from CANBUS data using a GUI Pin
firoz kamarudin13-May-19 17:56
firoz kamarudin13-May-19 17:56 
QuestionFinal Project its importent Pin
Member 1436409711-May-19 13:54
Member 1436409711-May-19 13:54 
AnswerRe: Final Project its importent Pin
Dave Kreskowiak11-May-19 14:23
mveDave Kreskowiak11-May-19 14:23 
AnswerRe: Final Project its importent Pin
BillWoodruff11-May-19 14:27
professionalBillWoodruff11-May-19 14:27 
AnswerRe: Final Project its importent Pin
OriginalGriff11-May-19 20:06
mveOriginalGriff11-May-19 20:06 
AnswerRe: Final Project its importent Pin
Gerry Schmitz11-May-19 23:49
mveGerry Schmitz11-May-19 23:49 
AnswerRe: Final Project its importent Pin
#realJSOP12-May-19 1:10
mve#realJSOP12-May-19 1:10 
QuestionIdeas wanted: editor for large parent-child tree structure in multiuser environment Pin
atrus271111-May-19 3:01
atrus271111-May-19 3:01 
Hi all,
imagine this scenario:
- a tree structure is to be be built (edit/insert/delete nodes) by a group of several users
- the tree is expected to be quite large once finished (~100.000 nodes!)
- inserting, moving, copying/pasting nodes is required
- child nodes can result from individual requirements ("make a child node named A") or
from applying domain values (e.g. countries, currencies etc): "make child nodes for the
countries I select in a list".

My ideas so far:
- parent-child database table on MS SQL
- tree versioning similar to a sourcecode management system; each "check in" makes a new tree
version, so that older versions are present (for comparison, as copy/paste source)
- display in a multicolumn treeview using Infragistics Ultracontrols' UltraTree (present)
- nesting is done by parentID, and order of siblings (=children of the same parent)
is controlled by an additional integer value, so it can be changed ("move up/down").

Main problems:
- concurrency managment: my initial approach (timestamps for optimistic locking) could lead to
"outdated" branches, so that hours of work could not be saved, as the database status is newer
- key generation: classical parent-child-trees need keys to be referenced. Usually, I use
identity integer values in hierarchical dataset, so new nodes (-1, -2, -3) get their IDs on
dataset.Update, but here, the reference is recursive (not just hierarchical). Creating a branch
has to create the nodes "top down".

Of course, if a commercial solutions provides a way to edit/manage a huge tree with several users, I'd be glad not to have to reinvent the wheel.

Any ideas or hints?
Thanks!
Martin
AnswerRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
BillWoodruff11-May-19 14:45
professionalBillWoodruff11-May-19 14:45 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
atrus271113-May-19 2:01
atrus271113-May-19 2:01 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
BillWoodruff13-May-19 20:53
professionalBillWoodruff13-May-19 20:53 
AnswerRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
Eddy Vluggen11-May-19 23:13
professionalEddy Vluggen11-May-19 23:13 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
atrus271113-May-19 2:17
atrus271113-May-19 2:17 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
Eddy Vluggen13-May-19 3:29
professionalEddy Vluggen13-May-19 3:29 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
atrus271113-May-19 4:09
atrus271113-May-19 4:09 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
Eddy Vluggen13-May-19 7:31
professionalEddy Vluggen13-May-19 7:31 
AnswerRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
Gerry Schmitz11-May-19 23:37
mveGerry Schmitz11-May-19 23:37 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
atrus271113-May-19 2:26
atrus271113-May-19 2:26 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
Gerry Schmitz13-May-19 3:34
mveGerry Schmitz13-May-19 3:34 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
atrus271113-May-19 4:24
atrus271113-May-19 4:24 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
Gerry Schmitz13-May-19 5:21
mveGerry Schmitz13-May-19 5:21 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
atrus271113-May-19 20:31
atrus271113-May-19 20:31 
GeneralRe: Ideas wanted: editor for large parent-child tree structure in multiuser environment Pin
Gerry Schmitz14-May-19 4:48
mveGerry Schmitz14-May-19 4:48 
QuestionBacking up a C# project Pin
Brian_TheLion10-May-19 13:56
Brian_TheLion10-May-19 13:56 
AnswerRe: Backing up a C# project Pin
BillWoodruff10-May-19 19:19
professionalBillWoodruff10-May-19 19:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.