在AE中创建关系类(RelatinshipClass)的三种不同方式
2010-01-25 17:40
274 查看
1. Relationship Class � If you want to create a relationship class to store the relationship within a geodatabase (any type of geodatabase) you can use IFeatureWorkspace.CreateRelationshipClass or IRelationshipClassContainer.CreateRelationshipClass. However it is important to note that if you want to use a relationship class, it can only relate feature classes and or tables that reside within the same Geodatabase.
所有表必须在同一数据库中,关系类在数据库中持久化
2. In Memory Relationship Class � If you only want the relationship to persist while your code is running you can use an in memory relationship class. IMemoryRelationshipClassFactory.Open can be used to create the temporary relationship class. Since the relationship class is not permanently stored in a Geodatabase you can use the in memory relationship class to relate data that is stored in different locations and of different types. For example you can use an in memory relationship class to relate a feature class to a shapefile or another feature class in a different geodatabase.
不同源表数据创建关联使用内存管理类,其关系不在数据中持久化,但可以保存在mxd中
3. Joins � You can also use IRelQueryTableFactory.Open to create a join between two tables. Joins can be used to associate data that is stored in different locations and of different types as well. With a RelQueryTable the associate is based on a RelationshipClass or MemoryRelationshipClass.
创建两个表之间的关系
所有表必须在同一数据库中,关系类在数据库中持久化
2. In Memory Relationship Class � If you only want the relationship to persist while your code is running you can use an in memory relationship class. IMemoryRelationshipClassFactory.Open can be used to create the temporary relationship class. Since the relationship class is not permanently stored in a Geodatabase you can use the in memory relationship class to relate data that is stored in different locations and of different types. For example you can use an in memory relationship class to relate a feature class to a shapefile or another feature class in a different geodatabase.
不同源表数据创建关联使用内存管理类,其关系不在数据中持久化,但可以保存在mxd中
3. Joins � You can also use IRelQueryTableFactory.Open to create a join between two tables. Joins can be used to associate data that is stored in different locations and of different types as well. With a RelQueryTable the associate is based on a RelationshipClass or MemoryRelationshipClass.
创建两个表之间的关系
相关文章推荐
- JDBC创建连接的三种不同方式
- Intelli JDEA 创建Scala项目的三种不同方式
- iOS开发基础之用三种不同方式创建Table View应用
- iOS开发基础之用三种不同方式创建Table View应用
- c++创建多线程的三种方式的比较 和 多线程通信
- 使用C#创建webservice及三种调用方式_.NET教程
- SQLServer 中存储过程返回的三种方式( 包括存储过程的创建, 在存储过程中调用, 在VS中调用的方法)
- css3中创建动画的三种方式详解
- 浅谈JavaScript异步加载的三种方式——async和defer、动态创建script
- 三种线程创建方式的小案例
- 使用C#(.net1.1)创建webservice及三种调用方式
- 以下三种下载方式有什么不同?如何用python模拟下载器下载?
- 创建线程的三种方式总结
- UITableViewCell和UICollectionViewCell创建的三种方式及应用选择
- csdn java创建线程的三种方式及其对比
- 界面方式创建、修改和删除关系表以及定义表的完整约束
- iPhone开发之创建简单界面视图的三种方式之二 使用Xcode4完全手动构建界面
- 创建CSS 样式表有三种方式
- Java反射机制(创建Class对象的三种方式)
- java创建数组有三种方式