Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
执行返回结果集的 SQL 语句。
Public Shadows Function ExecuteReader( ByVal behavior As CommandBehavior ) As SADataReader
public new SADataReader ExecuteReader(CommandBehavior behavior)
behavior CloseConnection、Default、KeyInfo、SchemaOnly、SequentialAccess、SingleResult 或 SingleRow 之一。有关此参数的详细信息,请参见 .NET Framework 文档中的 "CommandBehavior 枚举"。
作为 SADataReader 对象的结果集。
该语句是当前 SACommand 对象,视需要带有 CommandText 和 Parameters。SADataReader 对象是只读的只进结果集。对于可修改的结果集,请使用 SADataAdapter。