Hello,
I just upgraded our project from 2.0 to 2.6.8.1114. My issue is that I am getting compile errors when trying to create a partial class.
Errors:
Error 2 'DoveBid.Data.Generated.DamClientDb.EntityClasses.InvoicesEntity.SerializeOwnedData( SD.LLBLGen.Pro.ORMSupportClasses.SerializationWriter, object)': no suitable method found to override C:\DoveBidProjects\DoveBid\DoveBid2005\Data\Generated\DAM_ClientDB\InvoicesEntityHelper.cs 23 33 DoveBid.Data.Generated.DamClientDb
Error 3 'DoveBid.Data.Generated.DamClientDb.EntityClasses.InvoicesEntity.DeserializeOwnedData( SD.LLBLGen.Pro.ORMSupportClasses.SerializationReader, object)': no suitable method found to override C:\DoveBidProjects\DoveBid\DoveBid2005\Data\Generated\DAM_ClientDB\InvoicesEntityHelper.cs 29 33 DoveBid.Data.Generated.DamClientDb
This is new code which is not part of the upgrade. My code:
using SD.LLBLGen.Pro.ORMSupportClasses;
namespace DoveBid.Data.Generated.DamClientDb.EntityClasses
{
public partial class InvoicesEntity
{
protected override void SerializeOwnedData(SerializationWriter writer, object context)
{
base.SerializeOwnedData(writer, context);
}
protected override void DeserializeOwnedData(SerializationReader reader, object context)
{
base.DeserializeOwnedData(reader, context);
}
}
}
My InvoicesEntity class is declared as follows:
public partial class InvoicesEntity : CommonEntityBase, ISerializable
I also found that I needed to manually add in the SD.Tasks.SelfServicing.CommonBaseClassGenerator task in order to get the CommonEntityBase class to generate.
Please help.
My goal is to compress and decompress a field on this entity when it is saved or retrieved.
Thank you,
Rick