public void CanQueryAll() { var e = QueryFor <PersonCs> .For( connection, "select data from PersonCs"); Assert.NotNull(e); }
private void TheDocumentWasInserted() { var e = QueryFor <PersonCs> .For( connection, "select data from PersonCs where Data.value('(/FsPickler/value/instance/idkBackingField)[1]', 'uniqueidentifier') = @id", new Dictionary <string, object> { { "id", _ernesto._id } }); Assert.Equal(1, e.Length); Assert.Equal("Ernesto", e.First().Name); }