diff --git a/Sources/EntityFrameWorkLib/ChampionEntity.cs b/Sources/EntityFrameWorkLib/ChampionEntity.cs index df9864d..29c5c0b 100644 --- a/Sources/EntityFrameWorkLib/ChampionEntity.cs +++ b/Sources/EntityFrameWorkLib/ChampionEntity.cs @@ -12,24 +12,24 @@ namespace EntityFrameWorkLib [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int UniqueId { get; set; } - public string Name { get; set; } + public string? Name { get; set; } //[Required] [MaxLength(256)] - public string Bio { get; set; } + public string? Bio { get; set; } - public string Icon { get; set; } + public string? Icon { get; set; } //[Required] public ChampionClass Class { get; set; } - public Collection Skins { get; set; } + public Collection? Skins { get; set; } public LargeImageEntity? LargeImage { get; set; } public HashSet skills = new HashSet(); - public Collection ListRunePages { get; set; } + public Collection? ListRunePages { get; set; } } } diff --git a/Sources/EntityFrameWorkLib/LargeImageEntity.cs b/Sources/EntityFrameWorkLib/LargeImageEntity.cs index 0641a02..542088a 100644 --- a/Sources/EntityFrameWorkLib/LargeImageEntity.cs +++ b/Sources/EntityFrameWorkLib/LargeImageEntity.cs @@ -9,13 +9,13 @@ namespace EntityFrameWorkLib public Guid Id { get; set; } //[Required] - public string Base64 { get; set; } + public string? Base64 { get; set; } //[Required] public int championId { get; set; } //[Required] - public ChampionEntity champion { get; set; } + public ChampionEntity? champion { get; set; } } } diff --git a/Sources/EntityFrameWorkLib/RuneEntity.cs b/Sources/EntityFrameWorkLib/RuneEntity.cs index 432bb2a..600ed19 100644 --- a/Sources/EntityFrameWorkLib/RuneEntity.cs +++ b/Sources/EntityFrameWorkLib/RuneEntity.cs @@ -10,16 +10,16 @@ namespace EntityFrameWorkLib { [Key] //[MaxLength(256)] - public string Name { get; set; } + public string? Name { get; set; } //[Required] [MaxLength(500)] - public string Description { get; set; } + public string? Description { get; set; } //[Required] public RuneFamily RuneFamily { get; set; } - public Collection ListRunePages { get; set; } + public Collection? ListRunePages { get; set; } } } diff --git a/Sources/EntityFrameWorkLib/RunePageEntity.cs b/Sources/EntityFrameWorkLib/RunePageEntity.cs index bd2affa..d278ec5 100644 --- a/Sources/EntityFrameWorkLib/RunePageEntity.cs +++ b/Sources/EntityFrameWorkLib/RunePageEntity.cs @@ -4,7 +4,7 @@ namespace EntityFrameWorkLib public class RunePageEntity { public int Id { get; set; } - public String Name { get; set; } + public String? Name { get; set; } } public enum Category diff --git a/Sources/EntityFrameWorkLib/SkillEntity.cs b/Sources/EntityFrameWorkLib/SkillEntity.cs index 74c6b8d..2bb5a6a 100644 --- a/Sources/EntityFrameWorkLib/SkillEntity.cs +++ b/Sources/EntityFrameWorkLib/SkillEntity.cs @@ -8,16 +8,16 @@ namespace EntityFrameWorkLib { [Key] [MaxLength(256)] - public string Name { get; set; } + public string? Name { get; set; } //[Required] [MaxLength(500)] - public string Description { get; set; } + public string? Description { get; set; } //[Required] public SkillType SkillType { get; set; } - public HashSet champions { get; set; } + public HashSet? champions { get; set; } } } diff --git a/Sources/EntityFrameWorkLib/SkinEntity.cs b/Sources/EntityFrameWorkLib/SkinEntity.cs index fdbd9e8..50c3428 100644 --- a/Sources/EntityFrameWorkLib/SkinEntity.cs +++ b/Sources/EntityFrameWorkLib/SkinEntity.cs @@ -7,13 +7,13 @@ namespace EntityFrameWorkLib { [Key] [MaxLength(256)] - public string Name { get; set; } + public string? Name { get; set; } //[Required] [MaxLength(500)] - public string Description { get; set; } + public string? Description { get; set; } - public string Icon { get; set; } + public string? Icon { get; set; } //[Required] public float Price { get; set; }