Example #1
0
 public virtual void AddDeleteTrigger(string baseIdentifier, string className, NeoDatis.Odb.Core.Server.Trigger.ServerDeleteTrigger
                                      trigger)
 {
     serverImpl.AddDeleteTrigger(baseIdentifier, className, trigger);
 }
Example #2
0
 public virtual void AddDeleteTrigger(string baseIdentifier, string className, NeoDatis.Odb.Core.Server.Trigger.ServerDeleteTrigger
                                      trigger)
 {
     NeoDatis.Odb.Core.Server.Layers.Layer3.Engine.IServerStorageEngine engine = (NeoDatis.Odb.Core.Server.Layers.Layer3.Engine.IServerStorageEngine
                                                                                  )bases[baseIdentifier];
     if (engine == null)
     {
         throw new NeoDatis.Odb.ODBRuntimeException(NeoDatis.Odb.Core.Error.UnregisteredBaseOnServer
                                                    .AddParameter(baseIdentifier));
     }
     engine.AddDeleteTriggerFor(className, trigger);
 }