Esempio n. 1
0
 public void SetTenantQuotaRow(TenantQuotaRow row, bool exchange)
 {
     quotaService.SetTenantQuotaRow(row, exchange);
 }
Esempio n. 2
0
 public void SetTenantQuotaRow(TenantQuotaRow row, bool exchange)
 {
     service.SetTenantQuotaRow(row, exchange);
     interval.Expire();
 }
Esempio n. 3
0
        private void DeleteQuotaRow(TenantQuotaRow row)
        {
            var d = new SqlDelete(DbQuotaService.tenants_quotarow).Where("tenant", row.Tenant).Where("path", row.Path);

            new DbManager("core").ExecuteNonQuery(d);
        }
Esempio n. 4
0
        private void DeleteQuotaRow(TenantQuotaRow row)
        {
            var d = new SqlDelete(DbQuotaService.tenants_quotarow).Where("tenant", row.Tenant).Where("path", row.Path);

            new DbExecuter(ConfigurationManager.ConnectionStrings["core"]).ExecNonQuery(d);
        }