public DataSetReferenceCore(IDataSetReferenceMutableObject mutableObject, IMetadataTargetKeyValues parent) : base(mutableObject, parent) { this._datasetId = mutableObject.DatasetId; if (mutableObject.DataProviderReference != null) { this._dataProviderReference = new CrossReferenceImpl(this, mutableObject.DataProviderReference); try { Validate(); } catch (SdmxSemmanticException e) { throw new SdmxSemmanticException(e, ExceptionCode.FailValidation, this); } } }
public void AddDatasetReference(IDataSetReferenceMutableObject reference) { this.datasetReferences.Add(reference); }