Ok.
I have created a new file with the following:
Partial Class SeasonEntity
Protected Overrides Function CreateValidator() As IValidator
Return Nothing
End Function
End Class
SeasonEntity is my generated Entity Class. This gives me an error:
CreateValidator cannot be declared as Overrides.
I changed the Partial Class as:
#If CF Then
<SD.LLBLGen.Pro.ORMSupportClasses.Serializable()> _
Public Class SeasonEntity
#Else
<Serializable()> _
Partial Public Class SeasonEntity
#End If
Inherits EntityBase2
Protected Overrides Function CreateValidator() As IValidator
Return Nothing
End Function
End Class
This gives the following error:
Class 'SeasonEntity' must either be declared 'MustInherit' or override the following inherited 'MustOverride' member(s):
SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2 : Public MustOverride Function GetDependentRelatedEntities() As System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.IEntity2)
SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2 : Public MustOverride Function GetDependingRelatedEntities() As System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.IEntity2)
SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2 : Public MustOverride Function GetMemberEntityCollections() As System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.IEntityCollection2)
SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2 : Public MustOverride Sub SetRelatedEntity(relatedEntity As SD.LLBLGen.Pro.ORMSupportClasses.IEntity2, fieldName As String)
SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2 : Public MustOverride Sub SetRelatedEntityProperty(propertyName As String, entity As SD.LLBLGen.Pro.ORMSupportClasses.IEntity2)
SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2 : Public MustOverride Sub UnsetRelatedEntity(relatedEntity As SD.LLBLGen.Pro.ORMSupportClasses.IEntity2, fieldName As String, signalRelatedEntityManyToOne As Boolean).
Help please...