Skip to content

Composite Keys not supported with AsHierarchical #102

@JoeSqueo

Description

@JoeSqueo

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions