db참조 시스템 수정
This commit is contained in:
parent
333cf203b2
commit
2ead30c1ed
|
|
@ -1,4 +1,6 @@
|
||||||
namespace Server.SQL
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
|
namespace Server.SQL
|
||||||
{
|
{
|
||||||
public class DynamicData
|
public class DynamicData
|
||||||
{
|
{
|
||||||
|
|
@ -9,10 +11,9 @@
|
||||||
|
|
||||||
public class DynamicDataSQL : SQL<DynamicData>
|
public class DynamicDataSQL : SQL<DynamicData>
|
||||||
{
|
{
|
||||||
public void userInsert(DynamicData user)
|
public override DbSet<DynamicData> Table { get; set; }
|
||||||
{
|
|
||||||
string qurry = sqlInsert(user);
|
protected override string ConnectionString => "dynamic_data";
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//쿼리 전송
|
//쿼리 전송
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||||
<PackageReference Include="NLog" Version="5.2.6" />
|
<PackageReference Include="NLog" Version="5.2.6" />
|
||||||
<PackageReference Include="Npgsql" Version="8.0.0" />
|
<PackageReference Include="Npgsql" Version="8.0.0" />
|
||||||
|
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.22" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -69,6 +69,10 @@
|
||||||
"Npgsql": {
|
"Npgsql": {
|
||||||
"target": "Package",
|
"target": "Package",
|
||||||
"version": "[8.0.0, )"
|
"version": "[8.0.0, )"
|
||||||
|
},
|
||||||
|
"Npgsql.EntityFrameworkCore.PostgreSQL": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[6.0.22, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"imports": [
|
"imports": [
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@
|
||||||
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0"
|
"Microsoft.Extensions.Configuration.Abstractions": "6.0.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/net6.0/_._": {
|
"lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": {
|
||||||
"related": ".xml"
|
"related": ".xml"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -230,7 +230,7 @@
|
||||||
"Microsoft.Extensions.Primitives": "6.0.0"
|
"Microsoft.Extensions.Primitives": "6.0.0"
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"lib/netstandard2.0/_._": {
|
"lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": {
|
||||||
"related": ".xml"
|
"related": ".xml"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -405,6 +405,25 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Npgsql.EntityFrameworkCore.PostgreSQL/6.0.22": {
|
||||||
|
"type": "package",
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.EntityFrameworkCore": "6.0.22",
|
||||||
|
"Microsoft.EntityFrameworkCore.Abstractions": "6.0.22",
|
||||||
|
"Microsoft.EntityFrameworkCore.Relational": "6.0.22",
|
||||||
|
"Npgsql": "6.0.10"
|
||||||
|
},
|
||||||
|
"compile": {
|
||||||
|
"lib/net6.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll": {
|
||||||
|
"related": ".xml"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"SkiaSharp/2.88.6": {
|
"SkiaSharp/2.88.6": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
@ -1139,6 +1158,21 @@
|
||||||
"postgresql.png"
|
"postgresql.png"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"Npgsql.EntityFrameworkCore.PostgreSQL/6.0.22": {
|
||||||
|
"sha512": "iD0X/yef9KBsCBMDT1ZytW3pPYeYHeceUuiznaeGfkltvluG7O25aG2fwv2sO6icESL0CLNwNAF1Mu4cFrKmaA==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "npgsql.entityframeworkcore.postgresql/6.0.22",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"README.md",
|
||||||
|
"lib/net6.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll",
|
||||||
|
"lib/net6.0/Npgsql.EntityFrameworkCore.PostgreSQL.xml",
|
||||||
|
"npgsql.entityframeworkcore.postgresql.6.0.22.nupkg.sha512",
|
||||||
|
"npgsql.entityframeworkcore.postgresql.nuspec",
|
||||||
|
"postgresql.png"
|
||||||
|
]
|
||||||
|
},
|
||||||
"SkiaSharp/2.88.6": {
|
"SkiaSharp/2.88.6": {
|
||||||
"sha512": "wdfeBAQrEQCbJIRgAiargzP1Uy+0grZiG4CSgBnhAgcJTsPzlifIaO73JRdwIlT3TyBoeU9jEqzwFUhl4hTYnQ==",
|
"sha512": "wdfeBAQrEQCbJIRgAiargzP1Uy+0grZiG4CSgBnhAgcJTsPzlifIaO73JRdwIlT3TyBoeU9jEqzwFUhl4hTYnQ==",
|
||||||
"type": "package",
|
"type": "package",
|
||||||
|
|
@ -1555,7 +1589,8 @@
|
||||||
"Microsoft.EntityFrameworkCore.Design >= 6.0.25",
|
"Microsoft.EntityFrameworkCore.Design >= 6.0.25",
|
||||||
"NLog >= 5.2.6",
|
"NLog >= 5.2.6",
|
||||||
"Newtonsoft.Json >= 13.0.3",
|
"Newtonsoft.Json >= 13.0.3",
|
||||||
"Npgsql >= 8.0.0"
|
"Npgsql >= 8.0.0",
|
||||||
|
"Npgsql.EntityFrameworkCore.PostgreSQL >= 6.0.22"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"packageFolders": {
|
"packageFolders": {
|
||||||
|
|
@ -1626,6 +1661,10 @@
|
||||||
"Npgsql": {
|
"Npgsql": {
|
||||||
"target": "Package",
|
"target": "Package",
|
||||||
"version": "[8.0.0, )"
|
"version": "[8.0.0, )"
|
||||||
|
},
|
||||||
|
"Npgsql.EntityFrameworkCore.PostgreSQL": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[6.0.22, )"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"imports": [
|
"imports": [
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "xWPpHAj8b18tUesbYviWFHetS8k6yUvcKCu2JDoWmTIGudcGl/acwzGRHiwZaj6RptjARRMc4C1iCGVEy5L5JA==",
|
"dgSpecHash": "LBkvDjxWqmVzaEx8b9h3WyXwYaUq3fF6SCi3CegAGFfl5Cr9s96On748FRWgtIStNyETlF3g3aUqqqaXn1LKxg==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "D:\\my\\thewar_server\\Server\\Server.csproj",
|
"projectFilePath": "D:\\my\\thewar_server\\Server\\Server.csproj",
|
||||||
"expectedPackageFiles": [
|
"expectedPackageFiles": [
|
||||||
|
|
@ -26,6 +26,7 @@
|
||||||
"C:\\Users\\김민서\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.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.6\\nlog.5.2.6.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\\npgsql\\8.0.0\\npgsql.8.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\김민서\\.nuget\\packages\\npgsql.entityframeworkcore.postgresql\\6.0.22\\npgsql.entityframeworkcore.postgresql.6.0.22.nupkg.sha512",
|
||||||
"C:\\Users\\김민서\\.nuget\\packages\\skiasharp\\2.88.6\\skiasharp.2.88.6.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.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\\skiasharp.nativeassets.win32\\2.88.6\\skiasharp.nativeassets.win32.2.88.6.nupkg.sha512",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue