Skip to content

4. MSSQL Database

emmateva18 edited this page Jul 14, 2021 · 3 revisions

We create create a database with tables that have the same fields as the classes


string connString = @"Server=(localdb)\MSSQLLocalDB; Database = ExampleDatabase; Trusted_Connection = True;";

  • We pass this as a parameter to the functions for importing data
  • We can change the SQL instance, the database name and if the connection is trusted or not
Clone this wiki locally