Related to: http://aspnetwebstack.codeplex.com/workitem/421
As we are setting collection property as non-nullable, the collection property in complex type should be non-nullable as well.
For model:
public class DeltaTests_TodoItems
{
public string[] Items { get; set; }
}
It outputs following $metadata
<ComplexType Name="DeltaTests_TodoItems">
<Property Name="Items" Type="Collection(Edm.String)" />
</ComplexType>
As we are setting collection property as non-nullable, the collection property in complex type should be non-nullable as well.
For model:
public class DeltaTests_TodoItems
{
public string[] Items { get; set; }
}
It outputs following $metadata
<ComplexType Name="DeltaTests_TodoItems">
<Property Name="Items" Type="Collection(Edm.String)" />
</ComplexType>