Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
UL Ext:在 ULTable 对象中检索数据库表以便直接进行操作。
Public Function ExecuteTable() As ULTable
public ULTable ExecuteTable()
ULTable 对象形式的表。
ULException 类 发生 SQL 错误。
InvalidOperationException 该命令处于无效状态。ULCommand.Connection 值缺失或关闭、ULCommand.Transaction 值与连接的当前事务状态不匹配,或者 ULCommand.CommandText 值无效。
ULCommand.CommandText 值被解释为表的名称,而 ULCommand.IndexName 值可用于指定表的排序顺序。
必须将 ULCommand.CommandType 值设置为 System.Data.CommandType.TableDirect。
如果 ULCommand.IndexName 值为空值引用(在 Visual Basic 中是 Nothing),则使用主键打开表。否则,使用 ULCommand.IndexName 值打开表,该值是作为排序依据的索引的名称。