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

@@ -1,12 +1,14 @@
namespace Cicm.Database.Models
using System;
namespace Cicm.Database.Models
{
public class CompanyLogo
{
public int Id { get; set; }
public int CompanyId { get; set; }
public int? Year { get; set; }
public string Guid { get; set; }
public int Id { get; set; }
public int CompanyId { get; set; }
public int? Year { get; set; }
public Guid Guid { get; set; }
public Company Company { get; set; }
public virtual Company Company { get; set; }
}
}