Autor Beitrag
kostonstyle
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94



BeitragVerfasst: Di 26.07.11 16:30 
Hallo miteinander
ich möchte anhand vom Abbild(siehe Anhang) eine Collection bilden. Jeder Standort hat mehrere User und jeder User hat ein Password.
Wie kann ich es technisch umsetzen?
Einloggen, um Attachments anzusehen!
Trashkid2000
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 561
Erhaltene Danke: 137



BeitragVerfasst: Di 26.07.11 22:09 
Hallo user profile iconkostonstyle, nichts für ungut.
Aber was erwartest Du denn jetzt? Bei so einer Frage?
Dass wir Dir die Grundlagen des objektorientierten Programmierens beibringen?

Ich meine, was ist den bitte das Problem daran, eine "User"-Klasse zu erstellen, mit den beiden Properties Username und Password?
Und diese dann in ein Dictionary<string, IEnumerable<User>> zu packen?
Also der Key wäre dann Deine Stadt, und der Value ist wohl klar!?
kostonstyle Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94



BeitragVerfasst: Mi 27.07.11 08:33 
erstmal vielen dank für deine Antwort. Meine Welt ist eben nicht C# sondern ABAP. Ich muss für die Firma ein kleines Programm entwickeln, und nachdem werde ich eine Weile mich nicht mehr mit C# beschäftigen.
Wie muss ich mit Dictionary<string, IEnumerable<User>> lösen?