I have a pretty bazar one for you guys that I just can't figure out or even wrap my head around. I've created a few Azure databases in the past and I believe this is my second one using a .NET backend. I seem to have everything pulling/inserting correctly except for floating point variables.
Condensed class client side:
class MealItem
{
public string ID { get; set; }
public string Name { get; set; }
public float Price { get; set; }
}
Condensed class backend side:
public class MealItem : EntityData
{
public string Name { get; set; }
public float Price { get; set; }
}
And on the server side, the Price column (and other floats of the class) are set to the Data Type "float" with nulls allowed.
I am using sync tables, so the error is shown running this line:
await client.GetSyncTable<MealItem>().PullAsync("All", client.GetSyncTable<MealItem>().CreateQuery(),
CancellationToken.None);
I also tried this for the heck of it:
await client.GetTable<MealItem>().ToListAsync();
Everything works when I comment out the floating point variables on both the client and backend. I've spent a good amount of time on this one and can't seem to figure it out. Any ideas would be greatly appreciated! Thanks!