Json Azure移动服务无法从.net后端检索[ComplexType]
对于.NET后端上的当前Azure移动服务,在EntityData对象上使用[ComplexType]属性时似乎存在问题 例如:Json Azure移动服务无法从.net后端检索[ComplexType],json,mobile,service,complextype,Json,Mobile,Service,Complextype,对于.NET后端上的当前Azure移动服务,在EntityData对象上使用[ComplexType]属性时似乎存在问题 例如: public class TodoItem : EntityData { public string Text { get; set; } public bool Complete { get; set; } public ExampleComplexType Example { get; set; } } [ComplexType] p
public class TodoItem : EntityData
{
public string Text { get; set; }
public bool Complete { get; set; }
public ExampleComplexType Example { get; set; }
}
[ComplexType]
public class ExampleComplexType
{
public string X { get; set; }
}
将其与示例TodoItemController一起使用,可以很好地创建数据库,并且可以插入/更新数据等。但是,从GetAllTodoItems()返回的JSON拒绝返回示例
有什么想法吗