コード例 #1
0
 // 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);
 }
コード例 #2
0
 public abstract void AfterUpdate(NeoDatis.Odb.ObjectRepresentation oldObjectRepresentation
                                  , object newObject, NeoDatis.Odb.OID oid);
コード例 #3
0
 public abstract bool BeforeUpdate(NeoDatis.Odb.ObjectRepresentation oldObjectRepresentation
                                   , object newObject, NeoDatis.Odb.OID oid);
コード例 #4
0
 public override void AfterUpdate(NeoDatis.Odb.ObjectRepresentation oldObjectRepresentation
                                  , object newObject, NeoDatis.Odb.OID oid)
 {
 }
コード例 #5
0
 public override bool BeforeUpdate(NeoDatis.Odb.ObjectRepresentation oldObjectRepresentation
                                   , object newObject, NeoDatis.Odb.OID oid)
 {
     return(BeforeUpdate(oldObjectRepresentation, (NeoDatis.Odb.ObjectRepresentation)newObject
                         , oid));
 }
コード例 #6
0
 public abstract void AfterDelete(NeoDatis.Odb.ObjectRepresentation objectRepresentation
                                  , NeoDatis.Odb.OID oid);
コード例 #7
0
 public abstract bool BeforeDelete(NeoDatis.Odb.ObjectRepresentation objectRepresentation
                                   , NeoDatis.Odb.OID oid);
コード例 #8
0
 public abstract bool BeforeInsert(NeoDatis.Odb.ObjectRepresentation objectRepresentation
                                   );
コード例 #9
0
ファイル: Dummy.cs プロジェクト: Orvid/SQLInterfaceCollection
 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
                                                              ));
 }