DD.WellWorkover.Cloud/ConsoleApp1/DebugWellOperationImportService.cs

28 lines
842 B
C#
Raw Normal View History

using AsbCloudDb.Model;
using AsbCloudInfrastructure.Services;
using AsbCloudInfrastructure.Services.Cache;
using AsbCloudInfrastructure.Services.WellOperationService;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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("_");
}
}
}