I am getting the following error when trying to compile my ORM generated project. This worked last time, and I don't know what has changed with this specific entity but now I am getting the following error. Please let me know what I can do about this ASAP. My project is in the hands of LLBLGen here, and if the generated code can't compile then we've got a big problem.
Error 57 'Public Overridable ReadOnly Property WeldSpec_Proj_AttributesEntityUsingWeldSpec_Proj_AttributeId() As SD.LLBLGen.Pro.ORMSupportClasses.IEntityRelation' has multiple definitions with identical signatures.
C:\WindowsProjects\Weld\Weld2\Weld.ORM\RelationClasses\WeldSpec_Proj_AttributesRelations.vb 54 41 Weld.ORM
This is the generated code in the WeldSpec_Proj_AttributesRelations class
''' <summary>Returns a new IEntityRelation Object, between WeldSpec_Proj_AttributesEntity and WeldSpec_Proj_AttributesEntity over the 1:1 relation they have, using the relation between the fields:
''' WeldSpec_Proj_Attributes.WeldSpec_Proj_AttributeId - WeldSpec_Proj_Attributes.WeldSpec_Proj_AttributeId
''' </summary>
Public Overridable ReadOnly Property WeldSpec_Proj_AttributesEntityUsingWeldSpec_Proj_AttributeId() As IEntityRelation
Get
Dim relation As IEntityRelation = New EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToOne, "WeldSpec_Proj_Attributes_", True)
relation.AddEntityFieldPair(WeldSpec_Proj_AttributesFields.WeldSpec_Proj_AttributeId, WeldSpec_Proj_AttributesFields.WeldSpec_Proj_AttributeId)
relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("WeldSpec_Proj_AttributesEntity", True)
relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("WeldSpec_Proj_AttributesEntity", False)
Return relation
End Get
End Property
''' <summary>Returns a new IEntityRelation Object, between WeldSpec_Proj_AttributesEntity and WeldSpec_Proj_AttributesEntity over the 1:1 relation they have, using the relation between the fields:
''' WeldSpec_Proj_Attributes.WeldSpec_Proj_AttributeId - WeldSpec_Proj_Attributes.WeldSpec_Proj_AttributeId
''' </summary>
Public Overridable ReadOnly Property WeldSpec_Proj_AttributesEntityUsingWeldSpec_Proj_AttributeId() As IEntityRelation
Get
Dim relation As IEntityRelation = New EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToOne, "WeldSpec_Proj_Attributes", True)
relation.AddEntityFieldPair(WeldSpec_Proj_AttributesFields.WeldSpec_Proj_AttributeId, WeldSpec_Proj_AttributesFields.WeldSpec_Proj_AttributeId)
relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("WeldSpec_Proj_AttributesEntity", True)
relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("WeldSpec_Proj_AttributesEntity", False)
Return relation
End Get
End Property