123456789101112131415161718192021222324 |
- using System.Data.SqlClient;
- namespace API.DBConnection
- {
- public class ConnectionString
- {
- public static string SqlConnection
- {
- get
- {
- var sc = new SqlConnectionStringBuilder
- {
- DataSource = "ngknn.ru",
- IntegratedSecurity = false,
- InitialCatalog = "Belov_ShoppingListDB",
- UserID = "21P",
- Password = "12357",
- TrustServerCertificate = true
- };
- return sc.ToString();
- }
- }
- }
- }
|