2024-05-05 11:39:21 +03:00
|
|
|
|
using CarServiceDataBaseImplements;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Npgsql;
|
|
|
|
|
|
|
|
|
|
namespace ConsoleMainApp
|
2024-05-05 09:40:46 +03:00
|
|
|
|
{
|
|
|
|
|
internal class Program
|
|
|
|
|
{
|
2024-05-05 11:39:21 +03:00
|
|
|
|
|
2024-05-05 09:40:46 +03:00
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
2024-05-05 11:39:21 +03:00
|
|
|
|
using var context = new CarServiceDataBase();
|
|
|
|
|
context.Database.OpenConnection();
|
|
|
|
|
context.Database.CloseConnection();
|
2024-05-05 09:40:46 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|