我正在尝试在Azure数据库中存储Employee列表。
我有
Employee.cs
public class Employee {[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }}
和
Employeer.cs
public class Employeer{[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
[JsonProperty(PropertyName = "employees")]
public ICollection<Employee> Employees { get; set; }}
我该怎么办才能正确存放?
提前致谢!