Adds editorconfig and refactors to the established rules

This commit is contained in:
BinaryAlley committed 2024-09-23 16:48:48 +03:00
1 parent 712a0f2b27
commit cd44f11d9e
138 files changed
+1799 -1629

No files matched your search

@@ -126,7 +126,7 @@ public class BookConfiguration : IEntityTypeConfiguration<BookModel>
ratingBuilder.Property(rating => rating.Source)
.HasConversion<string>()
.HasMaxLength(50)
.HasMaxLength(50)
.IsRequired();
});
@@ -139,12 +139,12 @@ public class BookConfiguration : IEntityTypeConfiguration<BookModel>
isbnBuilder.Property(isbn => isbn.Value)
.HasColumnName("ISBN")
.HasMaxLength(13)
.HasMaxLength(13)
.IsRequired();
isbnBuilder.Property(isbn => isbn.Format)
.HasConversion<string>()
.HasMaxLength(6)
.HasMaxLength(6)
.IsRequired();
});
}