public static IEnumerable <string> EntryPaths(string path = null) => EntryProps .Concat(AccountPaths(nameof(Entry.Account))) .Concat(CurrencyPaths(nameof(Entry.Currency))) .Concat(RelationPaths(nameof(Entry.Custodian))) .Concat(EntryCustodyPaths(nameof(Entry.Custody))) .Concat(RelationPaths(nameof(Entry.Participant))) .Concat(EntryResourcePaths(nameof(Entry.Resource))) .Concat(EntryTypePaths(nameof(Entry.EntryType))) .Concat(CenterPaths(nameof(Entry.Center))) .Concat(UnitPaths(nameof(Entry.Unit))) .Select(p => path == null ? p : $"{path}.{p}");
public static IEnumerable <string> EntryPaths(string path = null) => EntryProps .Concat(AccountPaths(nameof(Entry.Account))) .Concat(CurrencyPaths(nameof(Entry.Currency))) .Concat(EntryAgentPaths(nameof(Entry.Agent))) .Concat(EntryResourcePaths(nameof(Entry.Resource))) .Concat(EntryAgentPaths(nameof(Entry.NotedAgent))) .Concat(EntryResourcePaths(nameof(Entry.NotedResource))) .Concat(AgentPaths(nameof(Entry.ReferenceSource))) .Concat(EntryTypePaths(nameof(Entry.EntryType))) .Concat(CenterPaths(nameof(Entry.Center))) .Concat(UnitPaths(nameof(Entry.Unit))) .Concat(UnitPaths(nameof(Entry.DurationUnit))) .Select(p => path == null ? p : $"{path}.{p}");