Constans.cs 627 B

1234567891011121314151617181920212223242526272829
  1. using Microsoft.Data.SqlClient;
  2. namespace androidAPI.BaseConneckion
  3. {
  4. public class Constans
  5. {
  6. public static string SqlConnection
  7. {
  8. get
  9. {
  10. var VM = new SqlConnectionStringBuilder
  11. {
  12. DataSource = "sql",
  13. IntegratedSecurity = false,
  14. InitialCatalog = "11APISaz",
  15. UserID = "23П",
  16. Password = "12357",
  17. TrustServerCertificate = true
  18. };
  19. return VM.ToString();
  20. }
  21. }
  22. }
  23. }