Usage

There are multiple api that the library offers, here a list:

Note that all the example are based on a c# object like this:

public class User
{
    public UserDocument()
    {
        Company = new CompanyDocument();
    }

    public string Username { get; set; }
    public string FirstName { get; set; }
    public string LastName { get; set; }
    public string Email { get; set; }
    public CultureInfo Culture { get; set; }
    public string TimeZoneId { get; set; }
    public bool EmailConfirmed { get; set; }
    public Company Company { get; set; }
}

public class Company
{
    public string Name { get; set; }
    public string Vat { get; set; }
    public string Address { get; set; }
    public string District { get; set; }
    public string Zipcode { get; set; }
    public string City { get; set; }
    public string Phone { get; set; }
    public string Fax { get; set; }
    public string Country { get; set; }
}

Your class could be everything is serializable.

Last updated