The table is opened (sorted) using the table's primary key.
This method is a shortcut for the ULCommand.ExecuteTable() method that does not require a ULCommand instance. It is provided
to help users porting from earlier versions of UltraLite.NET (it replaces iAnywhere.UltraLite.Connection.GetTable() and iAnywhere.UltraLite.Table.Open()).
The following code opens the table named MyTable using the table's primary key. It assumes an open ULConnection instance called
' Visual Basic
Dim t As ULTable = conn.ExecuteTable("MyTable")
' The line above is equivalent to
' Dim cmd As ULCommand = conn.CreateCommand()
' cmd.CommandText = "MyTable"
' cmd.CommandType = CommandType.TableDirect
' Dim t As ULTable = cmd.ExecuteTable()
The following code is the C# language equivalent:
ULTable t = conn.ExecuteTable("MyTable");
// The line above is equivalent to
// ULTable t;
// using(ULCommand cmd = conn.CreateCommand())
// cmd.CommandText = "MyTable";
// cmd.CommandType = CommandType.TableDirect;
// t = cmd.ExecuteTable();