Mark this for deleted.

The original person who made the mappings made them completely wrong.
I started from scratch and normal mappings fixed the problem.

Simple one to make reference from Parent to Child worked.

On Jul 25, 12:21 pm, Brad Laney <[email protected]> wrote:
> Hello,
>
> My issue is I am mapping a legacy db and don't exactly have permission
> to modify anything I want, I just have to map it. There are these two
> tables that are joined over two columns.
>
> Both tables have composite keys. The parent is over 2 keys, the child
> over 3.
>
> Right now I have a reference from the parent to the child as a list
> and the child has a references to the parent.
> I also have a composite defined on the child that spans 3 properties.
> Errors I get are "System.Int32" when I use key properties and when I
> use key references I get "unmapped class System.Int32".
>
> This system is for cars makes and models, and I do not know why there
> is a version column.
>
> Table structure:
>
> Parent
> MakeID (int)
> VersionID (int)
>
> Child
> MakeID (int)
> VersionID (int)
> Year (int)
>
> I apologies in advance if this is a real basic question but I've been
> struggling with this for days.
>
> Thanks,
>
> Brad Laney

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to