Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

How to map nested classes #467

Open
Open
@frankiDotNet

Description

I could not find anything about mapping calsses that contains sub classes.

[Table("TableA")]
public class ClassA{

[COLUMN("B_ID")]
public BId {get; set;}

[COLUMN("b")]
public ClassB b{get; set;}
}

[Table("TableB")]
public class ClassB{

[COLUMN("ID")]
public Int32 Id{get; set;}
}

How to get this e.g. with a join or how do I load class A with nested B objects, that could have relations like one to one or one to many ?

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions