file-scoped namespaces
This commit is contained in:
		| @@ -2,15 +2,14 @@ | ||||
| using Domains.VisaApplicationDomain; | ||||
| using Microsoft.EntityFrameworkCore.Metadata.Builders; | ||||
|  | ||||
| namespace Infrastructure.Database.VisaApplications.Configuration | ||||
| namespace Infrastructure.Database.VisaApplications.Configuration; | ||||
|  | ||||
| public static class PastVisitConfiguration<T> where T : class, IEntity | ||||
| { | ||||
|     public static class PastVisitConfiguration<T> where T : class, IEntity | ||||
|     public static void Configure(OwnedNavigationBuilder<T, PastVisit> entity) | ||||
|     { | ||||
|         public static void Configure(OwnedNavigationBuilder<T, PastVisit> entity) | ||||
|         { | ||||
|             entity.Property(pv => pv.DestinationCountry) | ||||
|                 .IsUnicode(false) | ||||
|                 .HasMaxLength(ConfigurationConstraints.CountryNameLength); | ||||
|         } | ||||
|     } | ||||
| } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user