Currently, I create a table like that:
- Code: Select all
Rom
{
Name: xyz,
Max: 10,
RoomCollect{
R1{
Name: ABC,
ID: "$%^&",
Count: 1
},
R2{
Name: DEF,
ID: "$%^&",
Count: 1
}
}
}
So when I get this record, I have a database object.
but I can't convert dbObject.RoomCollect to Array or something like that.
How could I get over this situation ?
P/S: I am thinking using RoomCollect is a array.