[성현모] Config 기능 추가, Socket Recv Json, string 기능 분리

This commit is contained in:
SHM
2025-04-21 12:00:24 +09:00
parent a12a3949bf
commit aaf104a915
21 changed files with 550 additions and 156 deletions

View File

@ -0,0 +1,29 @@
using Azure.Core;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HubX.Library.DataBase
{
public class DBManager
{
public DBManager()
{
}
public async Task Insert<T>(T context) where T : DbContext
{
//using (var transaction = await context.CreateTransactionAsync())
//{
// if (context.TCertificates.ToList().Exists(x => x.CCuid == tbscsr.CCuid) == false)
// {
// await context.AddAsync(certificate);
// }
// transactionResult = await context.CloseTransactionAsync(transaction);
//}
}
}
}