123456789101112131415161718192021222324 |
- using Microsoft.Data.SqlClient;
- namespace API_development
- {
- public class BaseConnect
- {
- public static string SQLConnection
- {
- get
- {
- var link = new SqlConnectionStringBuilder
- {
- DataSource = "sql",
- IntegratedSecurity = false,
- InitialCatalog = "43П-Коткова-API",
- UserID = "23П",
- Password = "12357",
- TrustServerCertificate = true
- };
- return link.ToString();
- }
- }
- }
- }
|