An interface for a db command
Namespace:
Contracts.Databases
Assembly: Contracts (in Contracts.dll)
Top
Assembly: Contracts (in Contracts.dll)
<System.Reflection.Obfuscation(Exclude=true, ApplyToMembers=true)> _
Public Interface IDBCommand
Inherits IDisposable
This language is not supported or no code example is available.
[System.Reflection.Obfuscation(Exclude=true, ApplyToMembers=true)]
public interface IDBCommand : IDisposable
This language is not supported or no code example is available.
[System.Reflection.Obfuscation(Exclude=true, ApplyToMembers=true)]
public interface class IDBCommand : public IDisposable^
This language is not supported or no code example is available.
Name | Description | |
---|---|---|
AddEntityParameter(EntityID) | Add entity parameters | |
AddParameter(object) | Add a parameter, using the default db parameter symbol | |
AddParameter(string, object) | Add a named parameter | |
AddParameters(IEnumerable<DBParameter>) | Add a set of parameters | |
ExecuteNonQuery() | Execute a non query - something that returns no results | |
ExecuteReader() | Execute and return a data reader | |
ExecuteScalar() | Execute and return a scalar | |
Fill<T>(ref T, Action<IDBReaderT>) | Fill some data | |
SelectAll<T>(Func<IDBReaderT>) | Select all data | |
SetTimeout(int) | Change the timeout from the default of 30 seconds |