/// <summary>Connects to the specified database and tablename.</summary> /// <param name="database">Database to connect to.</param> /// <param name="flags">Flags used to connect to the table.</param> /// <param name="tableName">The table to connect to.</param> /// <returns>Returns a new <see cref="MySqlTable" /> instance.</returns> public static MySqlTable Connect(MySqlDatabase database, TableFlags flags, string tableName) { var table = new MySqlTable(); table.Initialize(database, flags, tableName); return(table); }
/// <inheritdoc /> public override ITable GetTable(string tableName, TableFlags flags) => MySqlTable.Connect(this, flags, tableName);