将域类形状添加到另一个 [英] Adding a Domain Class Shape to another

查看:121
本文介绍了将域类形状添加到另一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人可以告诉我将几何形状添加到匹配形状的步骤.我认为这是可行的,因为在VS2005中的类设计器中,他们将嵌入式枚举放入类以及嵌套类中.

I was wondering if anyone could tell me the steps to add a Geometry Shape to a Compatment Shape.  I'm assuming this is possible since in the Class Designer (in VS2005) they have put an embedded Enum into a class as well as nested classes.

此刻我收到以下错误:

正在运行的转换:GeometryShape可能不位于CompartmentShape上.在将存储映射到StorageShape的ShapeMap中,父元素路径通向Table,其映射形状为TableShape.

Running transformation: A GeometryShape may not be parented on a CompartmentShape. In the ShapeMap mapping Storage to StorageShape, the parent element path leads to Table, whose mapped shape is TableShape.

预先感谢

Allan

Allan

推荐答案

您好,

对于隔间形状,您需要使用自定义代码.

如果需要,我可能会编写一些示例代码,但这会花点时间.


注意事项



Hello,

With Compartment Shapes you need to use custom code.

If you need I might write some sample code but that will take me a little while.


Regards




这篇关于将域类形状添加到另一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆