2 writes to dbName
System.Data.Linq (2)
SqlClient\SqlProvider.cs (2)
348this.dbName = this.GetDatabaseName(connectionString); 383this.dbName = this.GetDatabaseName(con.ConnectionString);
13 references to dbName
System.Data.Linq (13)
SqlClient\SqlProvider.cs (13)
349if (this.dbName.EndsWith(".sdf", StringComparison.OrdinalIgnoreCase)) { 355throw Error.ProviderNotInstalled(this.dbName, SqlCeProviderInvariantName); 543if (!File.Exists(this.dbName)) { 560throw Error.CreateDatabaseFailedBecauseSqlCEDatabaseAlreadyExists(this.dbName); 583if (File.Exists(this.dbName)) { 584throw Error.CreateDatabaseFailedBecauseSqlCEDatabaseAlreadyExists(this.dbName); 603else if (!String.IsNullOrEmpty(this.dbName)) { 604catalog = this.dbName; 711File.Delete(this.dbName); 723this.log.WriteLine(Strings.LogAttemptingToDeleteDatabase(this.dbName)); 725this.ExecuteCommand(SqlBuilder.GetDropDatabaseCommand(this.dbName)); 754exists = File.Exists(this.dbName); 763this.conManager.Connection.ChangeDatabase(this.dbName);