forked from ddrilling/AsbCloudServer
21 lines
596 B
C#
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("_");
|
|
}
|
|
}
|
|
}
|