DD.WellWorkover.Cloud/ConsoleApp1/DebugWellOperationImportService.cs
2022-06-15 14:57:37 +05:00

21 lines
596 B
C#

using AsbCloudDb.Model;
using Microsoft.EntityFrameworkCore;
using System;
namespace ConsoleApp1
{
public static class DebugWellOperationImportService
{
private static DbContextOptions<AsbCloudDbContext> options = new DbContextOptionsBuilder<AsbCloudDbContext>()
.UseNpgsql("Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True")
.Options;
public static void Main(/*string[] args*/)
{
using var db = new AsbCloudDbContext(options);
Console.WriteLine("_");
}
}
}