Advertisement
daegron

dao6

Nov 25th, 2022
797
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.31 KB | None | 0 0
  1. public static class Application
  2. {
  3.     public static NpgsqlDataSource DataSource = NpgsqlDataSource.Create(
  4.         "Server=mydemoserver.postgres.database.azure.com;" +
  5.         "Username=mylogin@mydemoserver;" +
  6.         "Database=mypgsqldb;" +
  7.         "Port=5432;" +
  8.         "Password=<server_admin_password>");
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement