コード例 #1
0
 public Category GetParent()
 {
     // note: I just made this up, you would use whatever EF method you have...
     return(EF.GetEntity <Category>(this.ParentId));
 }