Assume that ı have two tables in my DB. I want to access a different variable of my second table that is mapped to a foreign key from a variable of the main table.Is this possible that reach an another variable's value from LookUp table in model. I google it but never reached a solution.

I want to ask that how the model can do this automatically? and these are my tables model;

A: id:1, LookUpID:1;

LookUp: id:2, name: "some name"

The result will look like;

{
 A:{
 id: 1,
 LookUp: "some name"
 }
}

excuse my english, thank you in advance.

```
[Table("A")]
public class A
{
   [Key]
   public int id {get; set;}
   [Column("LookUp")]
   public int LookUpID {get; set;}

   [ForeignKey="LookUpID"]
   public virtual LookUp lookup {get; set;}
}

public class LookUp
{
   [Key]
   public int id {get; set;}
   public string name {get; set;}

}

```