If I want to implement custom code in the entity's Save() method (in SelfServicing using LLBLGen Runtime Framework) I would think I could do it like so:
public partial class SiteEntity
{
public override bool Save()
{
if (this.IsNew)
this.CreateDate = DateTime.Now;
this.LastUpdateDate = DateTime.Now;
return base.Save();
}
}
However, this code will not compile due to 'SiteEntity.Save()' cannot override inherited member 'EntityBase.Save()' because it is not marked virtual, abstract, or override
I am targeting .Net Standard if that makes any difference and I am using LLBLGen 5.4.2 with the hotfix applied.
Is this no longer the right way to do this?