protected override void Mapper(IDataRecord row)
 {
     _result = new SerializableAdditionalProperties();
     if (_additionalPropertyNames != null)
     {
         foreach (var p in _additionalPropertyNames)
         {
             int ix = row.GetOrdinal(p);
             _result.AddOrReplace(p, row.IsDBNull(ix) ? null : row.GetValue(ix));
         }
     }
 }
Exemplo n.º 2
0
        private void AdditionalTopLevelProperties()
        {
            SerializableAdditionalProperties topLevelProperties = _readerAdapter.TopLevelProperties();

            DatabaseSchema.TopLevelProperties = topLevelProperties;
        }