// TODO Auto-generated method stub public override bool BeforeUpdate(NeoDatis.Odb.ObjectRepresentation oldObjectRepresentation , object newObject, NeoDatis.Odb.OID oid) { NeoDatis.Odb.Test.Trigger.SimpleObject so = (NeoDatis.Odb.Test.Trigger.SimpleObject )newObject; // just add 1 so.SetId(so.GetId() + 1); return(true); }
public abstract void AfterUpdate(NeoDatis.Odb.ObjectRepresentation oldObjectRepresentation , object newObject, NeoDatis.Odb.OID oid);
public abstract bool BeforeUpdate(NeoDatis.Odb.ObjectRepresentation oldObjectRepresentation , object newObject, NeoDatis.Odb.OID oid);
public override void AfterUpdate(NeoDatis.Odb.ObjectRepresentation oldObjectRepresentation , object newObject, NeoDatis.Odb.OID oid) { }
public override bool BeforeUpdate(NeoDatis.Odb.ObjectRepresentation oldObjectRepresentation , object newObject, NeoDatis.Odb.OID oid) { return(BeforeUpdate(oldObjectRepresentation, (NeoDatis.Odb.ObjectRepresentation)newObject , oid)); }
public abstract void AfterDelete(NeoDatis.Odb.ObjectRepresentation objectRepresentation , NeoDatis.Odb.OID oid);
public abstract bool BeforeDelete(NeoDatis.Odb.ObjectRepresentation objectRepresentation , NeoDatis.Odb.OID oid);
public abstract bool BeforeInsert(NeoDatis.Odb.ObjectRepresentation objectRepresentation );
public static NeoDatis.Odb.Core.Layers.Layer2.Meta.NonNativeObjectInfo GetNnoi(NeoDatis.Odb.ObjectRepresentation objectRepresentation) { if (objectRepresentation is NeoDatis.Odb.Impl.Core.Server.Trigger.DefaultObjectRepresentation) { NeoDatis.Odb.Core.Layers.Layer2.Meta.NonNativeObjectInfo nnoi = ((NeoDatis.Odb.Impl.Core.Server.Trigger.DefaultObjectRepresentation )objectRepresentation).GetNnoi(); return(nnoi); } throw new NeoDatis.Odb.ODBRuntimeException(NeoDatis.Odb.Core.NeoDatisError.InternalError .AddParameter("getNnoi not implemented for " + objectRepresentation.GetType().FullName )); }