/// <summary> /// Libera a instancia. /// </summary> public void Dispose() { if (_dataSource != null) { _dataSource.Dispose(); _dataSource = null; } }
/// <summary> /// Construtor padrão. /// </summary> /// <param name="dataSource"></param> public QuerySourceContextWrapper(QueryDataSourceWrapper dataSource) { dataSource.Require("dataSource").NotNull(); _dataSource = dataSource; }