public Guid LoadProperty(SqliteReader reader, int index)
        {
            var text = reader.ColumnText(index);

            Guid.TryParse(text, out var result);
            return(result);
        }
Exemple #2
0
        public DateTimeOffset LoadProperty(SqliteReader reader, int index)
        {
            var text = reader.ColumnText(index);

            DateTimeOffset.TryParse(text, out var result);
            return(result);
        }
        public ImmutableArray <byte> LoadProperty(SqliteReader reader, int index)
        {
            var blob = reader.ColumnBlob(index);

            return(ImmutableArrayFactory.Create(blob));
        }
Exemple #4
0
        public void LoadRecord(SqliteReader reader, int index, TRecord record)
        {
            var value = _converter.LoadProperty(reader, index);

            _setter.Invoke(record, value);
        }