Use lazy loading of related tables.

This commit is contained in:
2018-08-06 23:33:39 +01:00
parent d540e281cf
commit 7565a8966a
29 changed files with 3077 additions and 681 deletions

View File

@@ -31,15 +31,15 @@ namespace Cicm.Database.Models
public short? CountryId { get; set; }
public CompanyStatus Status { get; set; }
public Iso31661Numeric Country { get; set; }
public Company SoldTo { get; set; }
public CompanyDescription Description { get; set; }
public ICollection<CompanyLogo> CompanyLogos { get; set; }
public ICollection<Gpu> Gpus { get; set; }
public ICollection<Company> InverseSoldToNavigation { get; set; }
public ICollection<MachineFamily> MachineFamilies { get; set; }
public ICollection<Machine> Machines { get; set; }
public ICollection<Processor> Processors { get; set; }
public ICollection<SoundSynth> SoundSynths { get; set; }
public virtual Iso31661Numeric Country { get; set; }
public virtual Company SoldTo { get; set; }
public virtual CompanyDescription Description { get; set; }
public virtual ICollection<CompanyLogo> CompanyLogos { get; set; }
public virtual ICollection<Gpu> Gpus { get; set; }
public virtual ICollection<Company> InverseSoldToNavigation { get; set; }
public virtual ICollection<MachineFamily> MachineFamilies { get; set; }
public virtual ICollection<Machine> Machines { get; set; }
public virtual ICollection<Processor> Processors { get; set; }
public virtual ICollection<SoundSynth> SoundSynths { get; set; }
}
}