diff --git a/.gitignore b/.gitignore index cdca8dc..fd45b20 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /.vs/* /*/obj/* +/DaSaSo.Domain/bin/Debug/* diff --git a/DaSaSo.Domain/Model/SewerObjects.cs b/DaSaSo.Domain/Model/SewerObjects.cs index 7817838..8aa9707 100644 --- a/DaSaSo.Domain/Model/SewerObjects.cs +++ b/DaSaSo.Domain/Model/SewerObjects.cs @@ -1,6 +1,13 @@ namespace DaSaSo.Domain.Model { - public class SewerObjects + public class SewerObjects : DomainObject { + public Buildingsite BuildingSite { get; set; } + public string StreetName { get; set; } + public string ObjektName { get; set; } + public string PointFrom { get; set; } + public string PointTo { get; set; } + public int DN { get; set; } + public decimal SewerLength { get; set; } } } \ No newline at end of file diff --git a/DaSaSo.EntityFramework/DaSaSoDbContextFactory.cs b/DaSaSo.EntityFramework/DaSaSoDbContextFactory.cs index 21aa2e5..5275573 100644 --- a/DaSaSo.EntityFramework/DaSaSoDbContextFactory.cs +++ b/DaSaSo.EntityFramework/DaSaSoDbContextFactory.cs @@ -13,7 +13,7 @@ namespace DaSaSo.EntityFramework public DaSaSoDbContext CreateDbContext(string[] args = null) { var options = new DbContextOptionsBuilder(); - options.UseNpgsql("server = localhost"); + options.UseNpgsql("Host = 192.168.122.1; Database = dasaso; Username = kansan; Password = kansan"); return new DaSaSoDbContext(options.Options); } } diff --git a/DaSaSo.EntityFramework/Migrations/20210912175956_InitialCommit.Designer.cs b/DaSaSo.EntityFramework/Migrations/20210912175956_InitialCommit.Designer.cs new file mode 100644 index 0000000..b279cec --- /dev/null +++ b/DaSaSo.EntityFramework/Migrations/20210912175956_InitialCommit.Designer.cs @@ -0,0 +1,187 @@ +// +using System; +using DaSaSo.EntityFramework; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; + +namespace DaSaSo.EntityFramework.Migrations +{ + [DbContext(typeof(DaSaSoDbContext))] + [Migration("20210912175956_InitialCommit")] + partial class InitialCommit + { + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("Relational:MaxIdentifierLength", 63) + .HasAnnotation("ProductVersion", "6.0.0-preview.7.21378.4") + .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); + + modelBuilder.Entity("DaSaSo.Domain.Model.Buildingsite", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); + + b.Property("BuildingSiteNumber") + .IsRequired() + .HasColumnType("text"); + + b.Property("ContactPerson") + .IsRequired() + .HasColumnType("text"); + + b.Property("Country") + .IsRequired() + .HasColumnType("text"); + + b.Property("ProjectId") + .HasColumnType("integer"); + + b.HasKey("Id"); + + b.HasIndex("ProjectId"); + + b.ToTable("Buildingsites"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Client", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); + + b.Property("Country") + .IsRequired() + .HasColumnType("text"); + + b.Property("Firstname") + .IsRequired() + .HasColumnType("text"); + + b.Property("LastName") + .IsRequired() + .HasColumnType("text"); + + b.Property("Postcode") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Id"); + + b.ToTable("Clients"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Project", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); + + b.Property("ClientId") + .HasColumnType("integer"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("ClientId"); + + b.ToTable("Projects"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.SewerObjects", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); + + b.Property("BuildingSiteId") + .HasColumnType("integer"); + + b.Property("DN") + .HasColumnType("integer"); + + b.Property("ObjektName") + .IsRequired() + .HasColumnType("text"); + + b.Property("PointFrom") + .IsRequired() + .HasColumnType("text"); + + b.Property("PointTo") + .IsRequired() + .HasColumnType("text"); + + b.Property("SewerLength") + .HasColumnType("numeric"); + + b.Property("StreetName") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("BuildingSiteId"); + + b.ToTable("SewerObjects"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Buildingsite", b => + { + b.HasOne("DaSaSo.Domain.Model.Project", null) + .WithMany("BuildingSites") + .HasForeignKey("ProjectId"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Project", b => + { + b.HasOne("DaSaSo.Domain.Model.Client", "Client") + .WithMany("Projects") + .HasForeignKey("ClientId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Client"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.SewerObjects", b => + { + b.HasOne("DaSaSo.Domain.Model.Buildingsite", "BuildingSite") + .WithMany("SewerObjects") + .HasForeignKey("BuildingSiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("BuildingSite"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Buildingsite", b => + { + b.Navigation("SewerObjects"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Client", b => + { + b.Navigation("Projects"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Project", b => + { + b.Navigation("BuildingSites"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/DaSaSo.EntityFramework/Migrations/20210912175956_InitialCommit.cs b/DaSaSo.EntityFramework/Migrations/20210912175956_InitialCommit.cs new file mode 100644 index 0000000..e47bc6d --- /dev/null +++ b/DaSaSo.EntityFramework/Migrations/20210912175956_InitialCommit.cs @@ -0,0 +1,124 @@ +using Microsoft.EntityFrameworkCore.Migrations; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; + +namespace DaSaSo.EntityFramework.Migrations +{ + public partial class InitialCommit : Migration + { + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "Clients", + columns: table => new + { + Id = table.Column(type: "integer", nullable: false) + .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), + Firstname = table.Column(type: "text", nullable: false), + LastName = table.Column(type: "text", nullable: false), + Country = table.Column(type: "text", nullable: false), + Postcode = table.Column(type: "text", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Clients", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Projects", + columns: table => new + { + Id = table.Column(type: "integer", nullable: false) + .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), + Name = table.Column(type: "text", nullable: false), + ClientId = table.Column(type: "integer", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Projects", x => x.Id); + table.ForeignKey( + name: "FK_Projects_Clients_ClientId", + column: x => x.ClientId, + principalTable: "Clients", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "Buildingsites", + columns: table => new + { + Id = table.Column(type: "integer", nullable: false) + .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), + BuildingSiteNumber = table.Column(type: "text", nullable: false), + Country = table.Column(type: "text", nullable: false), + ContactPerson = table.Column(type: "text", nullable: false), + ProjectId = table.Column(type: "integer", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Buildingsites", x => x.Id); + table.ForeignKey( + name: "FK_Buildingsites_Projects_ProjectId", + column: x => x.ProjectId, + principalTable: "Projects", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + }); + + migrationBuilder.CreateTable( + name: "SewerObjects", + columns: table => new + { + Id = table.Column(type: "integer", nullable: false) + .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), + BuildingSiteId = table.Column(type: "integer", nullable: false), + StreetName = table.Column(type: "text", nullable: false), + ObjektName = table.Column(type: "text", nullable: false), + PointFrom = table.Column(type: "text", nullable: false), + PointTo = table.Column(type: "text", nullable: false), + DN = table.Column(type: "integer", nullable: false), + SewerLength = table.Column(type: "numeric", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_SewerObjects", x => x.Id); + table.ForeignKey( + name: "FK_SewerObjects_Buildingsites_BuildingSiteId", + column: x => x.BuildingSiteId, + principalTable: "Buildingsites", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateIndex( + name: "IX_Buildingsites_ProjectId", + table: "Buildingsites", + column: "ProjectId"); + + migrationBuilder.CreateIndex( + name: "IX_Projects_ClientId", + table: "Projects", + column: "ClientId"); + + migrationBuilder.CreateIndex( + name: "IX_SewerObjects_BuildingSiteId", + table: "SewerObjects", + column: "BuildingSiteId"); + } + + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "SewerObjects"); + + migrationBuilder.DropTable( + name: "Buildingsites"); + + migrationBuilder.DropTable( + name: "Projects"); + + migrationBuilder.DropTable( + name: "Clients"); + } + } +} diff --git a/DaSaSo.EntityFramework/Migrations/DaSaSoDbContextModelSnapshot.cs b/DaSaSo.EntityFramework/Migrations/DaSaSoDbContextModelSnapshot.cs new file mode 100644 index 0000000..f16053f --- /dev/null +++ b/DaSaSo.EntityFramework/Migrations/DaSaSoDbContextModelSnapshot.cs @@ -0,0 +1,185 @@ +// +using System; +using DaSaSo.EntityFramework; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; + +namespace DaSaSo.EntityFramework.Migrations +{ + [DbContext(typeof(DaSaSoDbContext))] + partial class DaSaSoDbContextModelSnapshot : ModelSnapshot + { + protected override void BuildModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("Relational:MaxIdentifierLength", 63) + .HasAnnotation("ProductVersion", "6.0.0-preview.7.21378.4") + .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); + + modelBuilder.Entity("DaSaSo.Domain.Model.Buildingsite", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); + + b.Property("BuildingSiteNumber") + .IsRequired() + .HasColumnType("text"); + + b.Property("ContactPerson") + .IsRequired() + .HasColumnType("text"); + + b.Property("Country") + .IsRequired() + .HasColumnType("text"); + + b.Property("ProjectId") + .HasColumnType("integer"); + + b.HasKey("Id"); + + b.HasIndex("ProjectId"); + + b.ToTable("Buildingsites"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Client", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); + + b.Property("Country") + .IsRequired() + .HasColumnType("text"); + + b.Property("Firstname") + .IsRequired() + .HasColumnType("text"); + + b.Property("LastName") + .IsRequired() + .HasColumnType("text"); + + b.Property("Postcode") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Id"); + + b.ToTable("Clients"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Project", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); + + b.Property("ClientId") + .HasColumnType("integer"); + + b.Property("Name") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("ClientId"); + + b.ToTable("Projects"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.SewerObjects", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); + + b.Property("BuildingSiteId") + .HasColumnType("integer"); + + b.Property("DN") + .HasColumnType("integer"); + + b.Property("ObjektName") + .IsRequired() + .HasColumnType("text"); + + b.Property("PointFrom") + .IsRequired() + .HasColumnType("text"); + + b.Property("PointTo") + .IsRequired() + .HasColumnType("text"); + + b.Property("SewerLength") + .HasColumnType("numeric"); + + b.Property("StreetName") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("BuildingSiteId"); + + b.ToTable("SewerObjects"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Buildingsite", b => + { + b.HasOne("DaSaSo.Domain.Model.Project", null) + .WithMany("BuildingSites") + .HasForeignKey("ProjectId"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Project", b => + { + b.HasOne("DaSaSo.Domain.Model.Client", "Client") + .WithMany("Projects") + .HasForeignKey("ClientId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Client"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.SewerObjects", b => + { + b.HasOne("DaSaSo.Domain.Model.Buildingsite", "BuildingSite") + .WithMany("SewerObjects") + .HasForeignKey("BuildingSiteId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("BuildingSite"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Buildingsite", b => + { + b.Navigation("SewerObjects"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Client", b => + { + b.Navigation("Projects"); + }); + + modelBuilder.Entity("DaSaSo.Domain.Model.Project", b => + { + b.Navigation("BuildingSites"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/DaSaSo.EntityFramework/Services/GenericDataService.cs b/DaSaSo.EntityFramework/Services/GenericDataService.cs index 8aa69f6..fffb0ea 100644 --- a/DaSaSo.EntityFramework/Services/GenericDataService.cs +++ b/DaSaSo.EntityFramework/Services/GenericDataService.cs @@ -65,8 +65,8 @@ namespace DaSaSo.EntityFramework.Services using (DaSaSoDbContext context = _contextFactory.CreateDbContext()) { entity.Id = id; - await context.Set().Update(entity); - + context.Set().Update(entity); + await context.SaveChangesAsync(); return entity; } } diff --git a/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.Domain.dll b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.Domain.dll new file mode 100644 index 0000000..c81254f Binary files /dev/null and b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.Domain.dll differ diff --git a/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.Domain.pdb b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.Domain.pdb new file mode 100644 index 0000000..be75692 Binary files /dev/null and b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.Domain.pdb differ diff --git a/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.deps.json b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.deps.json new file mode 100644 index 0000000..11521ea --- /dev/null +++ b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.deps.json @@ -0,0 +1,400 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "DaSaSo.EntityFramework/1.0.0": { + "dependencies": { + "DaSaSo.Domain": "1.0.0", + "Microsoft.EntityFrameworkCore": "6.0.0-preview.7.21378.4", + "Microsoft.EntityFrameworkCore.Tools": "6.0.0-preview.7.21378.4", + "Npgsql.EntityFrameworkCore.PostgreSQL": "6.0.0-preview7" + }, + "runtime": { + "DaSaSo.EntityFramework.dll": {} + } + }, + "Humanizer.Core/2.8.26": { + "runtime": { + "lib/netstandard2.0/Humanizer.dll": { + "assemblyVersion": "2.8.0.0", + "fileVersion": "2.8.26.1919" + } + } + }, + "Microsoft.EntityFrameworkCore/6.0.0-preview.7.21378.4": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Abstractions": "6.0.0-preview.7.21378.4", + "Microsoft.EntityFrameworkCore.Analyzers": "6.0.0-preview.7.21378.4", + "Microsoft.Extensions.Caching.Memory": "6.0.0-preview.7.21377.19", + "Microsoft.Extensions.DependencyInjection": "6.0.0-preview.7.21377.19", + "Microsoft.Extensions.Logging": "6.0.0-preview.7.21377.19", + "System.Collections.Immutable": "6.0.0-preview.7.21377.19", + "System.Diagnostics.DiagnosticSource": "6.0.0-preview.7.21377.19" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37804" + } + } + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.0-preview.7.21378.4": { + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37804" + } + } + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.0-preview.7.21378.4": {}, + "Microsoft.EntityFrameworkCore.Design/6.0.0-preview.7.21378.4": { + "dependencies": { + "Humanizer.Core": "2.8.26", + "Microsoft.EntityFrameworkCore.Relational": "6.0.0-preview.7.21378.4" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Design.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37804" + } + } + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.0-preview.7.21378.4": { + "dependencies": { + "Microsoft.EntityFrameworkCore": "6.0.0-preview.7.21378.4", + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0-preview.7.21377.19" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37804" + } + } + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.0-preview.7.21378.4": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Design": "6.0.0-preview.7.21378.4" + } + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0-preview.7.21377.19": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0-preview.7.21377.19" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37719" + } + } + }, + "Microsoft.Extensions.Caching.Memory/6.0.0-preview.7.21377.19": { + "dependencies": { + "Microsoft.Extensions.Caching.Abstractions": "6.0.0-preview.7.21377.19", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0-preview.7.21377.19", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0-preview.7.21377.19", + "Microsoft.Extensions.Options": "6.0.0-preview.7.21377.19", + "Microsoft.Extensions.Primitives": "6.0.0-preview.7.21377.19" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37719" + } + } + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0-preview.7.21377.19": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0-preview.7.21377.19" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37719" + } + } + }, + "Microsoft.Extensions.DependencyInjection/6.0.0-preview.7.21377.19": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0-preview.7.21377.19", + "System.Runtime.CompilerServices.Unsafe": "6.0.0-preview.7.21377.19" + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37719" + } + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0-preview.7.21377.19": { + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37719" + } + } + }, + "Microsoft.Extensions.Logging/6.0.0-preview.7.21377.19": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "6.0.0-preview.7.21377.19", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0-preview.7.21377.19", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0-preview.7.21377.19", + "Microsoft.Extensions.Options": "6.0.0-preview.7.21377.19", + "System.Diagnostics.DiagnosticSource": "6.0.0-preview.7.21377.19" + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.Logging.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37719" + } + } + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0-preview.7.21377.19": { + "dependencies": { + "System.Buffers": "4.5.1", + "System.Memory": "4.5.4" + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37719" + } + } + }, + "Microsoft.Extensions.Options/6.0.0-preview.7.21377.19": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0-preview.7.21377.19", + "Microsoft.Extensions.Primitives": "6.0.0-preview.7.21377.19" + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.Options.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37719" + } + } + }, + "Microsoft.Extensions.Primitives/6.0.0-preview.7.21377.19": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0-preview.7.21377.19" + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.Primitives.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.21.37719" + } + } + }, + "Npgsql/6.0.0-preview7": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0-preview.7.21377.19" + }, + "runtime": { + "lib/net6.0/Npgsql.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.0.0" + } + } + }, + "Npgsql.EntityFrameworkCore.PostgreSQL/6.0.0-preview7": { + "dependencies": { + "Microsoft.EntityFrameworkCore": "6.0.0-preview.7.21378.4", + "Microsoft.EntityFrameworkCore.Abstractions": "6.0.0-preview.7.21378.4", + "Microsoft.EntityFrameworkCore.Relational": "6.0.0-preview.7.21378.4", + "Npgsql": "6.0.0-preview7" + }, + "runtime": { + "lib/net6.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.0.0" + } + } + }, + "System.Buffers/4.5.1": {}, + "System.Collections.Immutable/6.0.0-preview.7.21377.19": {}, + "System.Diagnostics.DiagnosticSource/6.0.0-preview.7.21377.19": {}, + "System.Memory/4.5.4": {}, + "System.Runtime.CompilerServices.Unsafe/6.0.0-preview.7.21377.19": {}, + "DaSaSo.Domain/1.0.0": { + "runtime": { + "DaSaSo.Domain.dll": {} + } + } + } + }, + "libraries": { + "DaSaSo.EntityFramework/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Humanizer.Core/2.8.26": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", + "path": "humanizer.core/2.8.26", + "hashPath": "humanizer.core.2.8.26.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore/6.0.0-preview.7.21378.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-BdupTWakC6DOZ4/+nsTXDYiyshJsdNvxIq3e++qHYyOU12awyHHF//ISmqJvZgC6lKTEn/0gKHQcMZwtLZiAnA==", + "path": "microsoft.entityframeworkcore/6.0.0-preview.7.21378.4", + "hashPath": "microsoft.entityframeworkcore.6.0.0-preview.7.21378.4.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.0-preview.7.21378.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OBWmLgRYZLKu+umANQVnYCSvQbjEkQOfOSVAbyTUfvkAAKZXbSGr9DWi9uFjTk6E5/6a+aBQP4onnEfHhYwPsg==", + "path": "microsoft.entityframeworkcore.abstractions/6.0.0-preview.7.21378.4", + "hashPath": "microsoft.entityframeworkcore.abstractions.6.0.0-preview.7.21378.4.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.0-preview.7.21378.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-4TYb+ZCPZ2/+pj4d/cpYXKQm4g7cP4J5jZR9UfJJXvOkOyakxcckYZVU3UT118UDTNW4D6YAB11ItsJ/+9J7GQ==", + "path": "microsoft.entityframeworkcore.analyzers/6.0.0-preview.7.21378.4", + "hashPath": "microsoft.entityframeworkcore.analyzers.6.0.0-preview.7.21378.4.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Design/6.0.0-preview.7.21378.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3buBoJUKSAF61I43t23OoRoZk8oeWxrqCC1r7c9fbf+FNPhMV+6VNHZ7xV0uGA23qYptG/PDoyuWmpjn5da24Q==", + "path": "microsoft.entityframeworkcore.design/6.0.0-preview.7.21378.4", + "hashPath": "microsoft.entityframeworkcore.design.6.0.0-preview.7.21378.4.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.0-preview.7.21378.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-thmbe4H6s2h4XpKMOGSO5ke/XOU5xF5Y3r1nc9GP9fPORTbNtheOiXL2ivVJ7TyGN83d105iCr693SKlM2Sc1A==", + "path": "microsoft.entityframeworkcore.relational/6.0.0-preview.7.21378.4", + "hashPath": "microsoft.entityframeworkcore.relational.6.0.0-preview.7.21378.4.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.0-preview.7.21378.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cE2oI9+LPys+xwVhdp8SVwa0g8gXJzrjRlCjOL5Ew05WHlxC08h0sOx6SHRPyVDLqGw37/O4RZXh1FafrVUARQ==", + "path": "microsoft.entityframeworkcore.tools/6.0.0-preview.7.21378.4", + "hashPath": "microsoft.entityframeworkcore.tools.6.0.0-preview.7.21378.4.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-8W2Ywl5KuZ+qSPFipRXse8FaqeH4Fj5fxmqgvbScGoNdgOMjkSR/5ms1Q2FsZbVAiwx09Ww82MBNCFarwccGfg==", + "path": "microsoft.extensions.caching.abstractions/6.0.0-preview.7.21377.19", + "hashPath": "microsoft.extensions.caching.abstractions.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Memory/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-MEIhC9Oog1Jlxn0wRHdkaZ6rdJQHEOPNuCYeI9skMKwilY52R3ak+oXQXYNoTGcvyH4g9zYlUVpHmu4t7R/pOA==", + "path": "microsoft.extensions.caching.memory/6.0.0-preview.7.21377.19", + "hashPath": "microsoft.extensions.caching.memory.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-E7jldErD3SGhDuxilC2H7UaATGpJJc+pYpYpsiSEhIveM6ldSwjRCqg3iousXnF1zdDMRESsCROYwPIVygoyVQ==", + "path": "microsoft.extensions.configuration.abstractions/6.0.0-preview.7.21377.19", + "hashPath": "microsoft.extensions.configuration.abstractions.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-BjESHgE6sL2YfUsc7fyA6zWax/ByG0We+F5hRk9hvlSupFMzaMvKWhjAAzZnQG+tvqsrZxydrZtganxDpuqqeQ==", + "path": "microsoft.extensions.dependencyinjection/6.0.0-preview.7.21377.19", + "hashPath": "microsoft.extensions.dependencyinjection.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-atV1M3Bmuc9+mIW1/AxgfYhZBH74P5897+sOq5zXQaNA/OBqAax1NQ/LZrIVqpFMYk5aPVv4vn2uirQ4Peuglg==", + "path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0-preview.7.21377.19", + "hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "Microsoft.Extensions.Logging/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kOrN0Tazrui2vh1tSqdI33lwZPBCPeyR7z8pWOR3i4LembIq5LBtZ6kNQMcp4vrrkMwafu6vPcbgaZy0gPKb1g==", + "path": "microsoft.extensions.logging/6.0.0-preview.7.21377.19", + "hashPath": "microsoft.extensions.logging.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cZMOsb9rKHMIPs170MUOnX3vB6lJJG3N4mO+ViX9o838Qvkq2+IEJus1B7oE2u3zCCqCUB9foa/t7qgUeSaRHg==", + "path": "microsoft.extensions.logging.abstractions/6.0.0-preview.7.21377.19", + "hashPath": "microsoft.extensions.logging.abstractions.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "Microsoft.Extensions.Options/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OiAS21Wg1X1qm4yE54PPJahF+nogKn5A+1UYcewvsASDcUudjllpCGMrqh5cI27pIst5VbFhq1KGTwzhU/GywA==", + "path": "microsoft.extensions.options/6.0.0-preview.7.21377.19", + "hashPath": "microsoft.extensions.options.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "Microsoft.Extensions.Primitives/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dbYTaKld3fbZETLzYknl5np8/rnas3isR3RQi0xvZNrz4S1bhn7lsEbu8ACwMAQxPxiKBgl59RKUNVmqjJ4Aww==", + "path": "microsoft.extensions.primitives/6.0.0-preview.7.21377.19", + "hashPath": "microsoft.extensions.primitives.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "Npgsql/6.0.0-preview7": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dOdWAo4aYu5RgEtbcXqKBHFp4s6TOSsUSwTC2rcsZd5quFS7geeUaXHnJlCxOYq2tNcFpTHNVFRlHB1OgKAw7w==", + "path": "npgsql/6.0.0-preview7", + "hashPath": "npgsql.6.0.0-preview7.nupkg.sha512" + }, + "Npgsql.EntityFrameworkCore.PostgreSQL/6.0.0-preview7": { + "type": "package", + "serviceable": true, + "sha512": "sha512-nzDmkNImvzXtgQK8gN1C5F1eYUr9XSKGidWY+T0EjCeaKzuQnvg2Rac785/CtYsdC4/JWsgeI0oZaH1+Yb6JdQ==", + "path": "npgsql.entityframeworkcore.postgresql/6.0.0-preview7", + "hashPath": "npgsql.entityframeworkcore.postgresql.6.0.0-preview7.nupkg.sha512" + }, + "System.Buffers/4.5.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==", + "path": "system.buffers/4.5.1", + "hashPath": "system.buffers.4.5.1.nupkg.sha512" + }, + "System.Collections.Immutable/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-TnnzExYnPymCOxNLnOgpTl0GAnXtm3urz/XNnLxutN5uRFMT6TRaUpL2j8ADyXX4JkSJcyXOQ3GI9DLqBzRmIA==", + "path": "system.collections.immutable/6.0.0-preview.7.21377.19", + "hashPath": "system.collections.immutable.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "System.Diagnostics.DiagnosticSource/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bnq8waIAuRZSU63bQQYzCTyfhqCSKTKWfy2oxBcVWh79d8WaiC4vtvyR0kAcF4YMrhK4YwjlXLblgfifXImPGw==", + "path": "system.diagnostics.diagnosticsource/6.0.0-preview.7.21377.19", + "hashPath": "system.diagnostics.diagnosticsource.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "System.Memory/4.5.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==", + "path": "system.memory/4.5.4", + "hashPath": "system.memory.4.5.4.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0-preview.7.21377.19": { + "type": "package", + "serviceable": true, + "sha512": "sha512-G9eKxgKE5UoyJdB4tpBFCWlgky34N11QDIjn92g6BwqII03yra4raegNNt3y3lmN6k+VDLIzgVMuddZ7LT6TEw==", + "path": "system.runtime.compilerservices.unsafe/6.0.0-preview.7.21377.19", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0-preview.7.21377.19.nupkg.sha512" + }, + "DaSaSo.Domain/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.dll b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.dll new file mode 100644 index 0000000..d6ae97d Binary files /dev/null and b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.dll differ diff --git a/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.pdb b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.pdb new file mode 100644 index 0000000..ff59b6d Binary files /dev/null and b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.pdb differ diff --git a/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.runtimeconfig.json b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.runtimeconfig.json new file mode 100644 index 0000000..2639263 --- /dev/null +++ b/DaSaSo.EntityFramework/bin/Debug/net6.0/DaSaSo.EntityFramework.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "6.0.0-preview.7.21377.19" + } + } +} \ No newline at end of file