You should be able to do something like this:
Dim ParentId As Guid = DirectCast(TreeViewThings.SelectedItem, Thing).Id
NewThing.Parent = (From t In db.Thing _
                  Where t.Id = ParentId _
                  Select t).First
That will build the hierarchical model you are going for.
                  achinda99
                   2009-02-13 18:29:25