public PostResponse <BatchSql> RunSqlBatch(BatchSql r) { PostResponse <BatchSql> response = new PostResponse <BatchSql>(); Dictionary <string, string> headers = SessionHelper.GetAuthorizationHeadersForUser(); var accountRecord = childRepo.ChildAddOrUpdate <BatchSql>(r, headers); response = base.CreateServiceResponse <PostResponse <BatchSql> >(accountRecord); return(response); }
internal void OnBatchSql([NotNull] SqlBatchCollectorEventArgs e) { BatchSql?.Invoke(this, e); }