From f6fc08660d057b9a9e734599f703acb8d40ded3c Mon Sep 17 00:00:00 2001 From: Erik Ejlskov Jensen Date: Fri, 12 Jan 2024 10:54:55 +0100 Subject: [PATCH] Update VSIX dependencies to latest --- src/GUI/EFCorePowerTools/EFCorePowerTools.csproj | 16 ++++++++-------- .../Ef7Playground/Models/NorthwindContext.cs | 6 ++++-- .../Ef7Playground/Models/Special.cs | 2 ++ 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/GUI/EFCorePowerTools/EFCorePowerTools.csproj b/src/GUI/EFCorePowerTools/EFCorePowerTools.csproj index ada0c9517..babc47622 100644 --- a/src/GUI/EFCorePowerTools/EFCorePowerTools.csproj +++ b/src/GUI/EFCorePowerTools/EFCorePowerTools.csproj @@ -537,25 +537,25 @@ - - + + - - - + + + 17.8.2365 runtime; build; native; contentfiles; analyzers; buildtransitive all - 1.1.39 + 1.1.77 5.4.1.1 - - + + diff --git a/test/Ef7Playground/Ef7Playground/Models/NorthwindContext.cs b/test/Ef7Playground/Ef7Playground/Models/NorthwindContext.cs index 67bcfdc61..9033eb7cd 100644 --- a/test/Ef7Playground/Ef7Playground/Models/NorthwindContext.cs +++ b/test/Ef7Playground/Ef7Playground/Models/NorthwindContext.cs @@ -90,8 +90,7 @@ protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) #warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263. => optionsBuilder.UseSqlServer("Data Source=.\\SQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True;Encrypt=True;Trust Server Certificate=True;Command Timeout=300", x => x .UseNetTopologySuite() - .UseHierarchyId()) - .LogTo(Console.WriteLine); + .UseHierarchyId()); protected override void OnModelCreating(ModelBuilder modelBuilder) { @@ -608,6 +607,9 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.Property(e => e.Id).ValueGeneratedNever(); entity.Property(e => e.Test2).HasColumnType("geometry"); + entity.Property(e => e.Testname) + .HasMaxLength(128) + .HasColumnName("testname"); }); modelBuilder.Entity(entity => diff --git a/test/Ef7Playground/Ef7Playground/Models/Special.cs b/test/Ef7Playground/Ef7Playground/Models/Special.cs index 41f61d257..21ff0511c 100644 --- a/test/Ef7Playground/Ef7Playground/Models/Special.cs +++ b/test/Ef7Playground/Ef7Playground/Models/Special.cs @@ -18,4 +18,6 @@ public partial class Special public DateOnly? TheDate { get; set; } public TimeOnly? TheTime { get; set; } + + public string? Testname { get; set; } }