public ResultObjectForExcel(ISqlCommandParameters parameters, IExcel.Range target, Boolean includeFieldHeadings, UpdateCallingClass logMethod) { targetRange = target; includeHeader = includeFieldHeadings; sqlExecution = new SqlCommandExecution(parameters); callingClass = logMethod; }
protected virtual void Dispose(bool disposing) { if (disposed) { return; } if (disposing) { sqlCommandExecution.Dispose(); } callingClass = null; disposed = true; }
protected virtual void Dispose(bool disposing) { if (disposed) { return; } if (disposing) { sqlExecution.Dispose(); } callingClass = null; ComCleanup.FinalReleaseAndNull(targetRange); ComCleanup.GarbageCleanup(); disposed = true; }
public ResultObject(ISqlCommandParameters parameter, UpdateCallingClass logMethod) { sqlCommandExecution = new SqlCommandExecution(parameter); callingClass = logMethod; }