Exemplo n.º 1
0
    public void ShouldCrateDynamicQuery()
    {
        var query           = "SELECT Id, DateOfBirth from Customer";
        var rs              = new Respository().Query(query);
        var sumId           = rs.Select(x => (Int32)x.Id).Sum();
        var birthDateOfType = rs.All(x => x.DateOfBirth is string);

        Assert.True(birthDateOfType);
    }