Esempio n. 1
0
 public override void AfterDelete(string key, Abstractions.Data.TransactionInformation transactionInformation)
 {
     using (Database.DisableAllTriggersForCurrentThread())
     {
         DocQuotaConfiguration.GetConfiguration(Database).AfterDelete();
     }
 }
 public override void AfterDelete(string key)
 {
     using (Database.DisableAllTriggersForCurrentThread())
     {
         DocQuotaConfiguration.GetConfiguration(Database).AfterDelete();
     }
 }
Esempio n. 3
0
 public override VetoResult AllowPut(string key, RavenJObject document, RavenJObject metadata,
                                     TransactionInformation transactionInformation)
 {
     return(DocQuotaConfiguration.GetConfiguration(Database).AllowPut());
 }
 public override void AfterDelete(string key, Abstractions.Data.TransactionInformation transactionInformation)
 {
     DocQuotaConfiguration.GetConfiguration(Database).AfterDelete();
 }