mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 06:11:10 +00:00
Adds editorconfig and refactors to the established rules
This commit is contained in:
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();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user