Beispiel #1
0
        /// <summary>
        /// Reads one record field by its name
        /// </summary>
        /// <param name="record">The record.</param>
        /// <param name="fieldName">Name of the field.</param>
        protected virtual void ReadOneRecordField(DataRecord record, string fieldName)
        {
            var    fieldType = _datasetInfo.Columns[fieldName].DataType;
            object value     = _jsonReader.ReadAs(fieldType);

            record[fieldName] = value;
        }