Overload the insert method to perform a bulk insert on a table
PrepareRequestData return object instead of Dictionary<string,string>
Helpers.MakeRequest method expect data as object instead of Dictionary<string,string>
Additional context
This changes didn't break anything , tests passed perfectly!
Usage
var client = Client.Instance.Initialize(baseUrl, new ClientAuthorization(AuthorizationType.Open, null));
var rocketUser = new User
{
Username = "rocket",
AgeRange = new Range(35, 40),
Status = "ONLINE"
};
var aceUser = new User
{
Username = "ace",
AgeRange = new Range(21, 28),
Status = "OFFLINE"
};
var users = new List<User>
{
rocketUser,
aceUser
};
var response = await client.Table<User>().Insert(users);
What kind of change does this PR introduce?
Feature bulk insert
What is the current behavior?
Feature request #13
What is the new behavior?
Additional context
Usage