public override void Create() { using (var masterConnection = _connection.CreateMasterConnection()) { _statementExecutor.ExecuteNonQuery(masterConnection, null, CreateCreateOperations()); ClearPool(); } Exists(retryOnNotExists: true); }
/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> public override void Create() { using (var masterConnection = _connection.CreateMasterConnection()) { MigrationCommandExecutor .ExecuteNonQuery(CreateCreateOperations(), masterConnection); ClearPool(); } Exists(retryOnNotExists: true); }
public ISqlServerConnection CreateMasterConnection() => new TestSqlServerConnection(_realConnection.CreateMasterConnection());