diff --git a/Server/SQL/UserSQL.cs b/Server/SQL/DynamicData.cs similarity index 66% rename from Server/SQL/UserSQL.cs rename to Server/SQL/DynamicData.cs index fdcff94..6ef60cb 100644 --- a/Server/SQL/UserSQL.cs +++ b/Server/SQL/DynamicData.cs @@ -1,15 +1,15 @@ namespace Server.SQL { - public class User + public class DynamicData { public int Id { get; set; } public string NickName { get; set; } public string count { get; set; } } - public class UserSQL : SQL + public class DynamicDataSQL : SQL { - public void userInsert(User user) + public void userInsert(DynamicData user) { string qurry = sqlInsert(user); } diff --git a/Server/SQL/SQL.cs b/Server/SQL/SQL.cs index 0d23eff..acb6858 100644 --- a/Server/SQL/SQL.cs +++ b/Server/SQL/SQL.cs @@ -1,142 +1,21 @@ -using System.Reflection; -using System.Text; -using System.Text.RegularExpressions; -using Server.System; +using Microsoft.EntityFrameworkCore; namespace Server.SQL { - public class SQL + public abstract class SQL : DbContext where T : class { - string className; - Regex regex = new Regex(STATICS.PATTERN); - public SQL() + public abstract DbSet Table { get; set; } + + protected abstract string ConnectionString { get; } + + protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { - className = typeof(T).Name; - } - - public string sqlInsert(T instance) - { - List names = new List(); - List values = new List(); - foreach (FieldInfo field in typeof(T).GetFields()) + if (!optionsBuilder.IsConfigured) { - object value = field.GetValue(instance); - if (value == null) - continue; - names.Add(field.Name); - values.Add(value.ToString()); + optionsBuilder.UseNpgsql(ConnectionString); + // 다른 옵션들을 추가할 수 있습니다. } - - StringBuilder qurry = new StringBuilder(); - - qurry.Append($"INSERT INTO {className} ("); - - int n = 0; - int count = names.Count; - - for(; n < count; n++) - { - qurry.Append(names[n]); - if(n != count - 1) - { - qurry.Append(", "); - } - } - - qurry.Append(") VALUES ("); - n = 0; - for (; n < count; n++) - { - qurry.Append(values[n]); - if (n != count - 1) - { - qurry.Append(", "); - } - } - qurry.Append(");"); - - return qurry.ToString(); - } - - public string sqlUpdate(string[] names, object[] values, string[] wnames, object[] wvalues) - { - StringBuilder qurry = new StringBuilder(); - qurry.Append($"UPDATE {className} SET "); - for(int n = 0; n < names.Length; n++) - { - qurry.Append($"{names[n]} = {values[n]}"); - if(n < names.Length - 1) - { - qurry.Append(", "); - } - } - qurry.Append(" WHERE "); - for (int n = 0; n < wnames.Length; n++) - { - qurry.Append($"{wnames[n]} = {wvalues[n]}"); - if (n < wnames.Length - 1) - { - qurry.Append(", "); - } - } - return qurry.ToString(); - } - - public string sqlSelect(string[] names, string[] wnames, object[] wvalues) - { - StringBuilder qurry = new StringBuilder(); - - if(names == null) - { - qurry.Append($"SELECT * FROM {className} "); - } - else - { - qurry.Append("SELECT "); - for(int n = 0; n < names.Length; n++) - { - qurry.Append(names[n]); - if (n < names.Length - 1) - { - qurry.Append(", "); - } - } - qurry.Append($" FROM {className} "); - } - - qurry.Append(" WHERE "); - for (int n = 0; n < wnames.Length; n++) - { - qurry.Append($"{wnames[n]} = {wvalues[n]}"); - if (n < wnames.Length - 1) - { - qurry.Append(", "); - } - } - return qurry.ToString(); - } - - public string sqlDelete(string[] wnames, object[] wvalues) - { - StringBuilder qurry = new StringBuilder(); - qurry.Append($"DELETE FROM {className}"); - - qurry.Append(" WHERE "); - for (int n = 0; n < wnames.Length; n++) - { - qurry.Append($"{wnames[n]} = {wvalues[n]}"); - if (n < wnames.Length - 1) - { - qurry.Append(", "); - } - } - return qurry.ToString(); - } - public string Injection(string data) - { - return regex.Replace(data, ""); } } -} - +} \ No newline at end of file diff --git a/Server/Server.csproj b/Server/Server.csproj index 719ea35..c69570d 100644 --- a/Server/Server.csproj +++ b/Server/Server.csproj @@ -10,8 +10,13 @@ + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + - + diff --git a/Server/obj/Debug/net6.0/Server.assets.cache b/Server/obj/Debug/net6.0/Server.assets.cache index 5487029..4f5817a 100644 Binary files a/Server/obj/Debug/net6.0/Server.assets.cache and b/Server/obj/Debug/net6.0/Server.assets.cache differ diff --git a/Server/obj/Debug/net6.0/Server.csproj.AssemblyReference.cache b/Server/obj/Debug/net6.0/Server.csproj.AssemblyReference.cache index 43ecd44..fdf1192 100644 Binary files a/Server/obj/Debug/net6.0/Server.csproj.AssemblyReference.cache and b/Server/obj/Debug/net6.0/Server.csproj.AssemblyReference.cache differ diff --git a/Server/obj/Release/net6.0/Server.assets.cache b/Server/obj/Release/net6.0/Server.assets.cache index 5ae05bc..26bc6c3 100644 Binary files a/Server/obj/Release/net6.0/Server.assets.cache and b/Server/obj/Release/net6.0/Server.assets.cache differ diff --git a/Server/obj/Release/net6.0/Server.csproj.AssemblyReference.cache b/Server/obj/Release/net6.0/Server.csproj.AssemblyReference.cache index 43ecd44..fdf1192 100644 Binary files a/Server/obj/Release/net6.0/Server.csproj.AssemblyReference.cache and b/Server/obj/Release/net6.0/Server.csproj.AssemblyReference.cache differ diff --git a/Server/obj/Server.csproj.nuget.dgspec.json b/Server/obj/Server.csproj.nuget.dgspec.json index 28e8720..095ad0c 100644 --- a/Server/obj/Server.csproj.nuget.dgspec.json +++ b/Server/obj/Server.csproj.nuget.dgspec.json @@ -48,9 +48,19 @@ "target": "Package", "version": "[0.28.0, )" }, + "Microsoft.EntityFrameworkCore": { + "target": "Package", + "version": "[6.0.25, )" + }, + "Microsoft.EntityFrameworkCore.Design": { + "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", + "suppressParent": "All", + "target": "Package", + "version": "[6.0.25, )" + }, "NLog": { "target": "Package", - "version": "[5.2.5, )" + "version": "[5.2.6, )" }, "Newtonsoft.Json": { "target": "Package", diff --git a/Server/obj/Server.csproj.nuget.g.props b/Server/obj/Server.csproj.nuget.g.props index c2ccb8e..cd8cf1e 100644 --- a/Server/obj/Server.csproj.nuget.g.props +++ b/Server/obj/Server.csproj.nuget.g.props @@ -13,6 +13,8 @@ + + \ No newline at end of file diff --git a/Server/obj/project.assets.json b/Server/obj/project.assets.json index df02a74..870d3f2 100644 --- a/Server/obj/project.assets.json +++ b/Server/obj/project.assets.json @@ -20,6 +20,19 @@ } } }, + "Humanizer.Core/2.8.26": { + "type": "package", + "compile": { + "lib/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Humanizer.dll": { + "related": ".xml" + } + } + }, "LibGit2Sharp/0.28.0": { "type": "package", "dependencies": { @@ -91,6 +104,162 @@ } } }, + "Microsoft.EntityFrameworkCore/6.0.25": { + "type": "package", + "dependencies": { + "Microsoft.EntityFrameworkCore.Abstractions": "6.0.25", + "Microsoft.EntityFrameworkCore.Analyzers": "6.0.25", + "Microsoft.Extensions.Caching.Memory": "6.0.1", + "Microsoft.Extensions.DependencyInjection": "6.0.1", + "Microsoft.Extensions.Logging": "6.0.0", + "System.Collections.Immutable": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.1" + }, + "compile": { + "lib/net6.0/Microsoft.EntityFrameworkCore.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net6.0/Microsoft.EntityFrameworkCore.props": {} + } + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.25": { + "type": "package", + "compile": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { + "related": ".xml" + } + } + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.25": { + "type": "package", + "compile": { + "lib/netstandard2.0/_._": {} + }, + "runtime": { + "lib/netstandard2.0/_._": {} + } + }, + "Microsoft.EntityFrameworkCore.Design/6.0.25": { + "type": "package", + "dependencies": { + "Humanizer.Core": "2.8.26", + "Microsoft.EntityFrameworkCore.Relational": "6.0.25" + }, + "compile": { + "lib/net6.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Design.dll": { + "related": ".xml" + } + }, + "build": { + "build/net6.0/Microsoft.EntityFrameworkCore.Design.props": {} + } + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.25": { + "type": "package", + "dependencies": { + "Microsoft.EntityFrameworkCore": "6.0.25", + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0" + }, + "compile": { + "lib/net6.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Caching.Abstractions": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "compile": { + "lib/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.DependencyInjection/6.0.1": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "compile": { + "lib/net6.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": { "type": "package", "compile": { @@ -107,6 +276,26 @@ "buildTransitive/net6.0/_._": {} } }, + "Microsoft.Extensions.Logging/6.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + }, + "compile": { + "lib/netstandard2.1/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + } + }, "Microsoft.Extensions.Logging.Abstractions/8.0.0": { "type": "package", "dependencies": { @@ -126,6 +315,42 @@ "buildTransitive/net6.0/Microsoft.Extensions.Logging.Abstractions.targets": {} } }, + "Microsoft.Extensions.Options/6.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "compile": { + "lib/netstandard2.1/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "type": "package", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "compile": { + "lib/net6.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, "Microsoft.NETCore.Platforms/3.1.0": { "type": "package", "compile": { @@ -148,7 +373,7 @@ } } }, - "NLog/5.2.5": { + "NLog/5.2.6": { "type": "package", "compile": { "lib/netstandard2.0/NLog.dll": { @@ -235,6 +460,25 @@ } } }, + "System.Collections.Immutable/6.0.0": { + "type": "package", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "compile": { + "lib/net6.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, "System.Diagnostics.DiagnosticSource/8.0.0": { "type": "package", "dependencies": { @@ -411,6 +655,22 @@ "lib/netstandard2.0/Aspose.Cells.xml" ] }, + "Humanizer.Core/2.8.26": { + "sha512": "OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", + "type": "package", + "path": "humanizer.core/2.8.26", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "humanizer.core.2.8.26.nupkg.sha512", + "humanizer.core.nuspec", + "lib/netstandard1.0/Humanizer.dll", + "lib/netstandard1.0/Humanizer.xml", + "lib/netstandard2.0/Humanizer.dll", + "lib/netstandard2.0/Humanizer.xml", + "logo.png" + ] + }, "LibGit2Sharp/0.28.0": { "sha512": "+VGXLAQovtTc41EkUXBKSuu40XcyuWUmQrslpd0CPMGkpnLTgQwoRLSSCRxLSPjYSi9SskyRUOLa9tjg/L108A==", "type": "package", @@ -459,6 +719,160 @@ "runtimes/win-x86/native/git2-e632535.dll" ] }, + "Microsoft.EntityFrameworkCore/6.0.25": { + "sha512": "txcqw2xrmvMoTIgzAdUk8JHLELofGgTK3i6glswVZs4SC8BOU1M/iSAtwMIVtAtfzxuBIUAbHPx+Ly6lfkYe7g==", + "type": "package", + "path": "microsoft.entityframeworkcore/6.0.25", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "buildTransitive/net6.0/Microsoft.EntityFrameworkCore.props", + "lib/net6.0/Microsoft.EntityFrameworkCore.dll", + "lib/net6.0/Microsoft.EntityFrameworkCore.xml", + "microsoft.entityframeworkcore.6.0.25.nupkg.sha512", + "microsoft.entityframeworkcore.nuspec" + ] + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.25": { + "sha512": "DalO25C96LsIfAPlyizyun9y1XrIquRugPEGXC8+z7dFo+GyU0LRd0R11JDd3rJWjR18NOFYwqNenjyDpNRO3A==", + "type": "package", + "path": "microsoft.entityframeworkcore.abstractions/6.0.25", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll", + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.xml", + "microsoft.entityframeworkcore.abstractions.6.0.25.nupkg.sha512", + "microsoft.entityframeworkcore.abstractions.nuspec" + ] + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.25": { + "sha512": "i6UpdWqWxSBbIFOkaMoubM40yIjTZO+0rIUkY5JRltSeFI4PzncBBQcNVNXXjAmiLXF/xY0xTS+ykClbkV46Yg==", + "type": "package", + "path": "microsoft.entityframeworkcore.analyzers/6.0.25", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll", + "lib/netstandard2.0/_._", + "microsoft.entityframeworkcore.analyzers.6.0.25.nupkg.sha512", + "microsoft.entityframeworkcore.analyzers.nuspec" + ] + }, + "Microsoft.EntityFrameworkCore.Design/6.0.25": { + "sha512": "YawyMKj1f+GkwHrxMIf9tX84sMGgLFa5YoRmyuUugGhffiubkVLYIrlm4W0uSy2NzX4t6+V7keFLQf7lRQvDmA==", + "type": "package", + "path": "microsoft.entityframeworkcore.design/6.0.25", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "build/net6.0/Microsoft.EntityFrameworkCore.Design.props", + "lib/net6.0/Microsoft.EntityFrameworkCore.Design.dll", + "lib/net6.0/Microsoft.EntityFrameworkCore.Design.xml", + "microsoft.entityframeworkcore.design.6.0.25.nupkg.sha512", + "microsoft.entityframeworkcore.design.nuspec" + ] + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.25": { + "sha512": "ci2lR++x7R7LR71+HoeRnB9Z5VeOQ1ILLbFRhsjjWZyLrAMkdq7TK9Ll47jo1TXDWF8Ddeap1JgcptgPKkWSRA==", + "type": "package", + "path": "microsoft.entityframeworkcore.relational/6.0.25", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll", + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.xml", + "microsoft.entityframeworkcore.relational.6.0.25.nupkg.sha512", + "microsoft.entityframeworkcore.relational.nuspec" + ] + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "sha512": "bcz5sSFJbganH0+YrfvIjJDIcKNW7TL07C4d1eTmXy/wOt52iz4LVogJb6pazs7W0+74j0YpXFErvp++Aq5Bsw==", + "type": "package", + "path": "microsoft.extensions.caching.abstractions/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Extensions.Caching.Abstractions.dll", + "lib/net461/Microsoft.Extensions.Caching.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.xml", + "microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512", + "microsoft.extensions.caching.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "sha512": "B4y+Cev05eMcjf1na0v9gza6GUtahXbtY1JCypIgx3B4Ea/KAgsWyXEmW4q6zMbmTMtKzmPVk09rvFJirvMwTg==", + "type": "package", + "path": "microsoft.extensions.caching.memory/6.0.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Extensions.Caching.Memory.dll", + "lib/net461/Microsoft.Extensions.Caching.Memory.xml", + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll", + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.xml", + "microsoft.extensions.caching.memory.6.0.1.nupkg.sha512", + "microsoft.extensions.caching.memory.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "sha512": "qWzV9o+ZRWq+pGm+1dF+R7qTgTYoXvbyowRoBxQJGfqTpqDun2eteerjRQhq5PQ/14S+lqto3Ft4gYaRyl4rdQ==", + "type": "package", + "path": "microsoft.extensions.configuration.abstractions/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net461/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.xml", + "microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512", + "microsoft.extensions.configuration.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection/6.0.1": { + "sha512": "vWXPg3HJQIpZkENn1KWq8SfbqVujVD7S7vIAyFXXqK5xkf1Vho+vG0bLBCHxU36lD1cLLtmGpfYf0B3MYFi9tQ==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection/6.0.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/Microsoft.Extensions.DependencyInjection.dll", + "lib/net461/Microsoft.Extensions.DependencyInjection.xml", + "lib/net6.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net6.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.xml", + "microsoft.extensions.dependencyinjection.6.0.1.nupkg.sha512", + "microsoft.extensions.dependencyinjection.nuspec", + "useSharedDesignerContext.txt" + ] + }, "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": { "sha512": "cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==", "type": "package", @@ -491,6 +905,27 @@ "useSharedDesignerContext.txt" ] }, + "Microsoft.Extensions.Logging/6.0.0": { + "sha512": "eIbyj40QDg1NDz0HBW0S5f3wrLVnKWnDJ/JtZ+yJDFnDj90VoPuoPmFkeaXrtu+0cKm5GRAwoDf+dBWXK0TUdg==", + "type": "package", + "path": "microsoft.extensions.logging/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Extensions.Logging.dll", + "lib/net461/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.1/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.1/Microsoft.Extensions.Logging.xml", + "microsoft.extensions.logging.6.0.0.nupkg.sha512", + "microsoft.extensions.logging.nuspec", + "useSharedDesignerContext.txt" + ] + }, "Microsoft.Extensions.Logging.Abstractions/8.0.0": { "sha512": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==", "type": "package", @@ -564,6 +999,52 @@ "useSharedDesignerContext.txt" ] }, + "Microsoft.Extensions.Options/6.0.0": { + "sha512": "dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==", + "type": "package", + "path": "microsoft.extensions.options/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Extensions.Options.dll", + "lib/net461/Microsoft.Extensions.Options.xml", + "lib/netstandard2.0/Microsoft.Extensions.Options.dll", + "lib/netstandard2.0/Microsoft.Extensions.Options.xml", + "lib/netstandard2.1/Microsoft.Extensions.Options.dll", + "lib/netstandard2.1/Microsoft.Extensions.Options.xml", + "microsoft.extensions.options.6.0.0.nupkg.sha512", + "microsoft.extensions.options.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "sha512": "9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==", + "type": "package", + "path": "microsoft.extensions.primitives/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Primitives.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/Microsoft.Extensions.Primitives.dll", + "lib/net461/Microsoft.Extensions.Primitives.xml", + "lib/net6.0/Microsoft.Extensions.Primitives.dll", + "lib/net6.0/Microsoft.Extensions.Primitives.xml", + "lib/netcoreapp3.1/Microsoft.Extensions.Primitives.dll", + "lib/netcoreapp3.1/Microsoft.Extensions.Primitives.xml", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.xml", + "microsoft.extensions.primitives.6.0.0.nupkg.sha512", + "microsoft.extensions.primitives.nuspec", + "useSharedDesignerContext.txt" + ] + }, "Microsoft.NETCore.Platforms/3.1.0": { "sha512": "z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", "type": "package", @@ -611,10 +1092,10 @@ "packageIcon.png" ] }, - "NLog/5.2.5": { - "sha512": "mMXtbAxfNzqkXcBjhJ3wN3rH7kwUZ0JL0GrUBI/lso7+tQ/HC4e5SnlmR3R5qQ9zWbqMbjxeH37rIf0yQGWTiA==", + "NLog/5.2.6": { + "sha512": "7/RQ4VBu6HT6kieczhwfI52ugcxrsrMNWIGy43Q36SdfN5dApZW7otsgXuIXx2rKspIGkPhD99JVWIs6FtIilA==", "type": "package", - "path": "nlog/5.2.5", + "path": "nlog/5.2.6", "files": [ ".nupkg.metadata", ".signature.p7s", @@ -631,7 +1112,7 @@ "lib/netstandard1.5/NLog.xml", "lib/netstandard2.0/NLog.dll", "lib/netstandard2.0/NLog.xml", - "nlog.5.2.5.nupkg.sha512", + "nlog.5.2.6.nupkg.sha512", "nlog.nuspec" ] }, @@ -780,6 +1261,29 @@ "skiasharp.nativeassets.win32.nuspec" ] }, + "System.Collections.Immutable/6.0.0": { + "sha512": "l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==", + "type": "package", + "path": "system.collections.immutable/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/System.Collections.Immutable.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/System.Collections.Immutable.dll", + "lib/net461/System.Collections.Immutable.xml", + "lib/net6.0/System.Collections.Immutable.dll", + "lib/net6.0/System.Collections.Immutable.xml", + "lib/netstandard2.0/System.Collections.Immutable.dll", + "lib/netstandard2.0/System.Collections.Immutable.xml", + "system.collections.immutable.6.0.0.nupkg.sha512", + "system.collections.immutable.nuspec", + "useSharedDesignerContext.txt" + ] + }, "System.Diagnostics.DiagnosticSource/8.0.0": { "sha512": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", "type": "package", @@ -1047,7 +1551,9 @@ "net6.0": [ "Aspose.Cells >= 23.11.0", "LibGit2Sharp >= 0.28.0", - "NLog >= 5.2.5", + "Microsoft.EntityFrameworkCore >= 6.0.25", + "Microsoft.EntityFrameworkCore.Design >= 6.0.25", + "NLog >= 5.2.6", "Newtonsoft.Json >= 13.0.3", "Npgsql >= 8.0.0" ] @@ -1099,9 +1605,19 @@ "target": "Package", "version": "[0.28.0, )" }, + "Microsoft.EntityFrameworkCore": { + "target": "Package", + "version": "[6.0.25, )" + }, + "Microsoft.EntityFrameworkCore.Design": { + "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", + "suppressParent": "All", + "target": "Package", + "version": "[6.0.25, )" + }, "NLog": { "target": "Package", - "version": "[5.2.5, )" + "version": "[5.2.6, )" }, "Newtonsoft.Json": { "target": "Package", diff --git a/Server/obj/project.nuget.cache b/Server/obj/project.nuget.cache index 3ee18fa..9d0a08b 100644 --- a/Server/obj/project.nuget.cache +++ b/Server/obj/project.nuget.cache @@ -1,21 +1,35 @@ { "version": 2, - "dgSpecHash": "YICtGj6gPbKWaNmYbPc9jq3IAInHBNkBlIvKA5C1woGSNCHr9bwTbTxj+47VXzyYWPln+OdveuezKE+jn6XrNw==", + "dgSpecHash": "xWPpHAj8b18tUesbYviWFHetS8k6yUvcKCu2JDoWmTIGudcGl/acwzGRHiwZaj6RptjARRMc4C1iCGVEy5L5JA==", "success": true, "projectFilePath": "D:\\my\\thewar_server\\Server\\Server.csproj", "expectedPackageFiles": [ "C:\\Users\\김민서\\.nuget\\packages\\aspose.cells\\23.11.0\\aspose.cells.23.11.0.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\libgit2sharp\\0.28.0\\libgit2sharp.0.28.0.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\libgit2sharp.nativebinaries\\2.0.320\\libgit2sharp.nativebinaries.2.0.320.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.entityframeworkcore\\6.0.25\\microsoft.entityframeworkcore.6.0.25.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\6.0.25\\microsoft.entityframeworkcore.abstractions.6.0.25.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\6.0.25\\microsoft.entityframeworkcore.analyzers.6.0.25.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.entityframeworkcore.design\\6.0.25\\microsoft.entityframeworkcore.design.6.0.25.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\6.0.25\\microsoft.entityframeworkcore.relational.6.0.25.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\6.0.0\\microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.extensions.caching.memory\\6.0.1\\microsoft.extensions.caching.memory.6.0.1.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\6.0.0\\microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\6.0.1\\microsoft.extensions.dependencyinjection.6.0.1.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.0\\microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.extensions.logging\\6.0.0\\microsoft.extensions.logging.6.0.0.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\8.0.0\\microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.extensions.options\\6.0.0\\microsoft.extensions.options.6.0.0.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\microsoft.extensions.primitives\\6.0.0\\microsoft.extensions.primitives.6.0.0.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512", - "C:\\Users\\김민서\\.nuget\\packages\\nlog\\5.2.5\\nlog.5.2.5.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\nlog\\5.2.6\\nlog.5.2.6.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\npgsql\\8.0.0\\npgsql.8.0.0.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\skiasharp\\2.88.6\\skiasharp.2.88.6.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\skiasharp.nativeassets.macos\\2.88.6\\skiasharp.nativeassets.macos.2.88.6.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\skiasharp.nativeassets.win32\\2.88.6\\skiasharp.nativeassets.win32.2.88.6.nupkg.sha512", + "C:\\Users\\김민서\\.nuget\\packages\\system.collections.immutable\\6.0.0\\system.collections.immutable.6.0.0.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\system.diagnostics.diagnosticsource\\8.0.0\\system.diagnostics.diagnosticsource.8.0.0.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\system.formats.asn1\\6.0.0\\system.formats.asn1.6.0.0.nupkg.sha512", "C:\\Users\\김민서\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",