Skip to content

How to map list of nested object with Smart #3

@chanh2505

Description

@chanh2505

Dear usausa,

I want execute the query to return and can map to object like this:

public class Company
{
   public int ID {get;set;}
   public string Name {get;set;}
   public IList<Staff> Staffs{get;set;}
}

public class Staff
{
   public int ID {get;set;}
   public string StaffName {get;set;}
}

Please guide me how to implement it

Thanks

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