Example #1
0
 public ResultObjectForExcel(ISqlCommandParameters parameters, IExcel.Range target, Boolean includeFieldHeadings, UpdateCallingClass logMethod)
 {
     targetRange   = target;
     includeHeader = includeFieldHeadings;
     sqlExecution  = new SqlCommandExecution(parameters);
     callingClass  = logMethod;
 }
Example #2
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            if (disposing)
            {
                sqlCommandExecution.Dispose();
            }

            callingClass = null;

            disposed = true;
        }
Example #3
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            if (disposing)
            {
                sqlExecution.Dispose();
            }

            callingClass = null;

            ComCleanup.FinalReleaseAndNull(targetRange);
            ComCleanup.GarbageCleanup();

            disposed = true;
        }
Example #4
0
 public ResultObject(ISqlCommandParameters parameter, UpdateCallingClass logMethod)
 {
     sqlCommandExecution = new SqlCommandExecution(parameter);
     callingClass        = logMethod;
 }