You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I'm missing something, but it would be helpful if I could add .NET objects directly to a data source instead of having to create a file, open a stream, and pass the stream. It would also be helpful to add more data to a dataset as needed (e.g. add a new piece of data to the dataset incrementally).
The text was updated successfully, but these errors were encountered:
If you can coerce your .NET objects into a Dictionary<string, string> for each instance, then you can indeed upload your data without writing it to a file first.
For example:
client.DataSets.Create(DataSet.From("my-dataset-name", new DataSetDetail()
{
Data = new List<Dictionary<string, string>()
{
["field1"] = "value1",
["field2"] = "value2"
}
}));
..etc.
So, if you have a list of .Net objects already it'd be pretty straightforward to translate those objects into a DataSetDetail object and you'd be all set.
Of course, extending the .Net client to accept objects directly is probably a good idea. Ripe for a PR! :-)
Maybe I'm missing something, but it would be helpful if I could add .NET objects directly to a data source instead of having to create a file, open a stream, and pass the stream. It would also be helpful to add more data to a dataset as needed (e.g. add a new piece of data to the dataset incrementally).
The text was updated successfully, but these errors were encountered: