Created
April 13, 2018 12:43
-
-
Save lukasz-pyrzyk/f0bc822fd10670534500dcd7906c10af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fact] | |
public void EntityWithArrayCanBeFlattened() | |
{ | |
var root = new Parent | |
{ | |
Childrens = new[] { new Children { Name = "Łukasz" } } | |
}; | |
var flattened = TableEntity.Flatten(root, new OperationContext()); | |
} | |
public class Parent | |
{ | |
public Children[] Childrens { get; set; } | |
} | |
public class Children | |
{ | |
public string Name { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment