Skip to content

How to query complex entities #203

@SpeakHero

Description

@SpeakHero
public role {
  public string id{get;set;}
  public string name{get;set;}
}

public roleClaims{
  public string id{get;set;}
  public string roleid{get;set;}
  public role  role{get;set;}
}

How to select ?
I need to choose. role.name
I do it like this:
Context.Set<roleClaims>().Select("new{ id, roel.name}") but this is error!
What should I do?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions