Getting an exception when reading hierarchical data and that data is using Composite Keys. The error is 'Sequence contains more than one element'. Am I doing something incorrect, or is this just not supported.
Stack Trace:
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source) at CodeOnlyStoredProcedure.RowFactory.HierarchicalTypeRowFactory1.GetKeyProperty(Type type, IEnumerable1 props, IEnumerable1 interfaceProperties)
at CodeOnlyStoredProcedure.RowFactory.HierarchicalTypeRowFactory`1..cctor()
Getting an exception when reading hierarchical data and that data is using Composite Keys. The error is 'Sequence contains more than one element'. Am I doing something incorrect, or is this just not supported.
Stack Trace: at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable
1 source) at CodeOnlyStoredProcedure.RowFactory.HierarchicalTypeRowFactory
1.GetKeyProperty(Type type, IEnumerable1 props, IEnumerable
1 interfaceProperties) at CodeOnlyStoredProcedure.RowFactory.HierarchicalTypeRowFactory`1..cctor()