static void Main(string[] args) { PgsqlDbContext dbContext = new PgsqlDbContext(new StagingOptions("Pgsql", "Host=127.0.0.1;Port=5432;Username=postgres;Password=postgres;Database=mystaging;")); new ContextTest().Start(); Console.ReadKey(); Console.WriteLine("success....."); }
public void Start() { options = new StagingOptions("user", connectionString); userContext = new PgsqlDbContext(options); Insert(); Delete(); Update(); Select(); }