1
我有一些复杂的类,其中许多类都有一个类作为属性。我试图用ROWLEX属性标记标记类文件,但是当多个类具有相同的属性名时,Rowlex提取器会给出错误。ROWLEX:具有相同属性名称的类不起作用:ROWLEX
我已经制作了一套非常简单的类腿,动物,表。两个表&动物腿都是腿的阵列....
错误消息是:http://nc3a.nato.int/10/16/ZooOntology#Legs被分配到多个类型。
进口NC3A.SI.Rowlex
http://nc3a.nato.int/10/16/ZooOntology“)>
命名空间Namespace1
<RdfSerializable(Ontology:="http://nc3a.nato.int/10/16/ZooOntology", HasResourceUri:=False)> _
Public Class Leg
End Class
<RdfSerializable(Ontology:="http://nc3a.nato.int/10/16/ZooOntology", HasResourceUri:=False)> _
Public Class House
<RdfProperty(False)> _
Public readonly Property Legs() As Leg()
Get
Return Nothing
End Get
End Property
End Class
<RdfSerializable(Ontology:="http://nc3a.nato.int/10/16/ZooOntology", HasResourceUri:=False)> _
Public Class Table
<RdfProperty(False)> _
Public ReadOnly Property Legs() As Leg()
Get
Return Nothing
End Get
End Property
End Class
结束命名空间