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

@@ -38,9 +38,9 @@ namespace Cicm.Database.Models
public float? L2 { get; set; }
public float? L3 { get; set; }
public Company Company { get; set; }
public InstructionSet InstructionSet { get; set; }
public ICollection<InstructionSetExtensionsByProcessor> InstructionSetExtensions { get; set; }
public ICollection<ProcessorsByMachine> ProcessorsByMachine { get; set; }
public virtual Company Company { get; set; }
public virtual InstructionSet InstructionSet { get; set; }
public virtual ICollection<InstructionSetExtensionsByProcessor> InstructionSetExtensions { get; set; }
public virtual ICollection<ProcessorsByMachine> ProcessorsByMachine { get; set; }
}
}