/// <summary> /// Handles the extra fields of Dataflows /// </summary> /// <param name="artefact"> /// The maintainable reference to add the annotations to /// </param> /// <param name="reader"> /// reader /// </param> protected override void HandleArtefactExtraFields(IDataflowMutableObject artefact, System.Data.IDataReader reader) { base.HandleArtefactExtraFields(artefact, reader); // The referenced from queries do not include PRODUCTION field. So we need to check. // TODO pass instead the extraFields method to RetrieveArtefacts if (!reader.HasFieldName("PRODUCTION")) { return; } var isProduction = DataReaderHelper.GetInt32(reader, "PRODUCTION"); if (isProduction == 0) { artefact.SetNonProduction(); } }