yojimbo87 / ArangoDB-NET

C#/.NET/Mono driver for ArangoDB
MIT License
107 stars 66 forks source link

Cannot retrieve data with List<int> property #15

Closed gohsianghwee closed 9 years ago

gohsianghwee commented 9 years ago

Hi Yojimbo87,

As reported in the stackoverflow. The class structure is very straightforward. So long you add the List<int> or array then it will start prompting error when you try to get the collection. However, data will still be saved but retrieving will cause some issue.

public class Employee 
{
    public string Id { get; set; }

    public string Key { get; set; }

    public string Revision { get; set; }

    public string Name { get; set; }

    public string IcNumber { get; set; }

    public string Email { get; set; }

    public string Department { get; set; }
    public double Height { get; set; }

    public DateTime DateOfBirth { get; set; }

    public decimal Salary { get; set; }

    public IList<Phone> Phones { get; set; }

    public List<int> Numbers { get; set; }
}
yojimbo87 commented 9 years ago

Fixed in reimplement branch.

gohsianghwee commented 9 years ago

Hi Tomas,

Thanks again.