The following tables list the members exposed by the IDBCommand type.

Name Description
Public method AddEntityParameter(EntityID) Add entity parameters
Public method AddParameter(object) Add a parameter, using the default db parameter symbol
Public method AddParameter(string, object) Add a named parameter
Public method AddParameters(IEnumerable<DBParameter>) Add a set of parameters
Public method ExecuteNonQuery() Execute a non query - something that returns no results
Public method ExecuteReader() Execute and return a data reader
Public method ExecuteScalar() Execute and return a scalar
Public method Fill<T>(ref T, Action<IDBReaderT>) Fill some data
Public method SelectAll<T>(Func<IDBReaderT>) Select all data
Public method SetTimeout(int) Change the timeout from the default of 30 seconds
Top