コード例 #1
0
        public override void datasetBuildOnFinishDefault()
        {
            if (dataCollectionExtendedList == null)
            {
                dataCollectionExtendedList = new PropertyCollectionExtendedList();
            }

            var data = AppendDataFields(null, modelRecordFieldToAppendFlags.modelRecordInstanceData | modelRecordFieldToAppendFlags.modelRecordCommonData);

            //dataSet.Tables.Add(data.buildDataTableVertical(globalTableEnum.identification.GetTableName(), globalTableEnum.identification.GetTableDescription()));

            dataCollectionExtendedList.Add(data, "Execution record");
        }
コード例 #2
0
#pragma warning restore CS1574 // XML comment has cref attribute 'dataCollectionExtendedList' that could not be resolved

        /// <summary>
        /// Default dataset build - intended for mid-level class overload
        /// </summary>
        public virtual void datasetBuildOnFinishDefault()
        {
            if (reallyFinished)
            {
                throw new InvalidOperationException("This record already created finish calculations");
            }
            reallyFinished = true;
            if (dataCollectionExtendedList == null)
            {
                dataCollectionExtendedList = new PropertyCollectionExtendedList();
            }

            dataCollectionExtendedList.Add(AppendDataFields(null, modelRecordFieldToAppendFlags.modelRecordCommonData), modelRecordDataSetCategoriesEnum.master_record);
            dataCollectionExtendedList.Add(AppendDataFields(null, modelRecordFieldToAppendFlags.identification), modelRecordDataSetCategoriesEnum.master_log_info);
        }