对于其他数据源(比如非关系数据)或是其他的数据库访问技术(比如LINQ to SQL)来说,ADO.NET Data Services又提供了一种机制将这些数据源建模为实体和关系(比如通过EDM schema描述)并将其暴露为数据服务。
LINQ to SQL a mechanism is provided which enables any data source to be modeled as entities and associations ie. described using an EDM schema and exposed as a data service.
如果您有关系数据库数据的建模经验,那么您就会知道不同关系实体之间的多对多关系随时会出现。
If you have some experience modeling data for relational databases, you know that many-to-many relationships between different relational entities appear all the time.
在 XML 中建模这种类型的关系数据的关键是要了解您有可使用的所有工具,并应用常识来确定什么工具最适合某种特定情况。
The key to modeling this type of relational data in XML is to understand all the tools you have at your disposal, and apply common sense to determine what will work best in a particular case.
应用推荐