Specifies a ULCommand that is used during System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet) or System.Data.Common.DbDataAdapter.FillSchema(System.Data.DataSet,System.Data.SchemaType) to obtain a result set from the database for copying into a System.Data.DataSet.
Visual Basic Public Property SelectCommand As ULCommand
C# public ULCommand SelectCommand { get; set; }
A ULCommand object that is executed to fill the System.Data.DataSet.
When SelectCommand is assigned to an existing ULCommand object, the ULCommand object is not cloned. The SelectCommand maintains a reference to the existing ULCommand.
If the SelectCommand does not return any rows, no tables are added to the System.Data.DataSet, and no exception is raised. The SELECT statement can also be specified in the ULDataAdapter(ULCommand), ULDataAdapter(String,ULConnection), or ULDataAdapter(String,String) constructors.
This is the strongly-typed version of System.Data.IDbDataAdapter.SelectCommand and System.Data.Common.DbDataAdapter.SelectCommand.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |