abe545 / CodeOnlyStoredProcedures

A library for easily calling Stored Procedures in .NET using only code (no xml or gui).
MIT License
4 stars 3 forks source link

Hierarchical relationship convention is case sensitive #61

Closed abe545 closed 8 years ago

abe545 commented 8 years ago

These should support the convention:

public class Parent
{
    public int ID { get; set; }
    public IEnumerable<Child> Children { get; set; }
}

public class Child
{
    public int Parentid { get; set; }
    public int Childid { get; set; }
}

However, an exception is thrown that states the key can't be determined to produce the mapping.