Open svdoever opened 11 years ago
I want to create the fields in a table on the fly so I do:
public class MyClass { public int? id { get; set; } public DateTime timestamp { get; set; } }
var myTable = zumo.GetTable(mobileServiceHost, mobileServiceAppKey, myTableName); var newVote = voteTable.Add(new MyClass { timestamp = DateTime.Now });
My timestamp field becomes a string field in the database.
I want to create the fields in a table on the fly so I do:
public class MyClass { public int? id { get; set; } public DateTime timestamp { get; set; } }
var myTable = zumo.GetTable(mobileServiceHost, mobileServiceAppKey, myTableName);
var newVote = voteTable.Add(new MyClass { timestamp = DateTime.Now });
My timestamp field becomes a string field in the database.