SneeK
Legacy Member
Voor mijn stage maak ik een silverlight app die via webservices data verkrijgt en deze stopt in een treeview ( onder andere) Nu weet ik niet goed hoe ik deze data fatsoenlijk in die treeview moet krijgen aangezien de diepte ( aantal kinderen die getoond worden) variabel is.
Datamodel
Asset:
- AssetType (VarChar 10)
- AssetId (VarChar 20)
- Description (VarChar 70)
- (EanId) (VarChar 33)
- (SerialNumber) (VarChar 70)
- ((Brand)) (VarChar 50)
- ((Type)) (VarChar 50)
- (DGO) => Code, naam in aparte tabel ?
- (Address)
- (HouseNumber)
- (ZipCode)
- (City)
- (Latitude)
- (Longitude)
- (Direction)
DeliveryRelation:
- ParentAssetType
- ParentAssetId
- ChildAssetType
- ChildAssetId
- StartDate
- (EndDate)
Consumption:
- AssetType
- AssetId
- Timestamp
- StartDate
- (EndDate)
- ConsumptionValue
Die laatste is irrelevant. Bedoeling is dus via die relation tabel te zien wat onder wat hoort.
Datamodel
Asset:
- AssetType (VarChar 10)
- AssetId (VarChar 20)
- Description (VarChar 70)
- (EanId) (VarChar 33)
- (SerialNumber) (VarChar 70)
- ((Brand)) (VarChar 50)
- ((Type)) (VarChar 50)
- (DGO) => Code, naam in aparte tabel ?
- (Address)
- (HouseNumber)
- (ZipCode)
- (City)
- (Latitude)
- (Longitude)
- (Direction)
DeliveryRelation:
- ParentAssetType
- ParentAssetId
- ChildAssetType
- ChildAssetId
- StartDate
- (EndDate)
Consumption:
- AssetType
- AssetId
- Timestamp
- StartDate
- (EndDate)
- ConsumptionValue
Die laatste is irrelevant. Bedoeling is dus via die relation tabel te zien wat onder wat hoort.