开发者

Is IHierarchicalEnumerable the prefered way of dealing with hierarchical data?

I'm building an asp.net mvc app, I want to build u开发者_如何学Gop an hierarchical structure, is IHierarchicalEnumerable and IHierarchyData the best way to implement a hierarchical structure?


Those two interfaces were written with ASP.NET WebForms in mind (they are not strongly-typed, so that WebForms DataSources can work with hierarchies of arbitrary object types). For an MVC application, you will probably be better off writing your own classes to describe the data hierarchy.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜