private void init(ISqlHelper connect) { sqlHelper = connect; prevalueSourceStorage = new PrevalueSourceStorage(connect); settings = new SettingsStorage(connect); conditionStorage = new FieldConditionStorage(connect); }
public void Dispose() { prevalueSourceStorage.Dispose(); prevalueSourceStorage = null; conditionStorage.Dispose(); conditionStorage = null; sqlHelper.Dispose(); sqlHelper = null; }