mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Use lazy loading of related tables.
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Cicm.Database.Models
|
||||
public int? WhiteNoise { get; set; }
|
||||
public int? Type { get; set; }
|
||||
|
||||
public Company Company { get; set; }
|
||||
public ICollection<SoundByMachine> SoundByMachine { get; set; }
|
||||
public virtual Company Company { get; set; }
|
||||
public virtual ICollection<SoundByMachine> SoundByMachine { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user