How is the actual database created?

I have this code (below)... my question is: if the database file does NOT exist, which one of these statements creates it?  (not the tables, but the actual file 'r64.sdb')  Is it the SQLiteConnection statement?
dbPath = Environment.GetFolderPath (Environment.SpecialFolder.MyDocuments);
	        db = Path.Combine (dbPath, "r64.sdb");
	        
			bool exists = File.Exists (db);  //  check to make sure it exists
			
			conn = new SqliteConnection("Data Source=" + db);

Open in new window

rmmarshAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
CHutchinsConnect With a Mentor Commented:
It has to be making a call to another script to create the file from what I can tell form the last line.
the last line looks like a Connection creation and data source - + db is making a call to a variable
0
 
rmmarshAuthor Commented:
By trial and error I figured it out... conn.Open creates the database, based on the contents of db.  Thanks for your help... I appreciate it.
0
All Courses

From novice to tech pro — start learning today.