using Microsoft.Data.SqlClient; namespace androidAPI.BaseConneckion { public class Constans { public static string SqlConnection { get { var VM = new SqlConnectionStringBuilder { DataSource = "sql", IntegratedSecurity = false, InitialCatalog = "11APISaz", UserID = "23П", Password = "12357", TrustServerCertificate = true }; return VM.ToString(); } } } }