The DataAccess type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | CloseConnection |
Closes an existing database connection.
|
![]() | Equals | (Inherited from Object.) |
![]() | ExecuteNonQuery |
Executes a sql statement against the connection and returns the number of rows affected.
|
![]() | ExecuteReader |
Executes a sql statement against the connection and returns an instance of SqlDataReader class.
|
![]() | ExecuteScalar |
Executes a sql statement against the connection and returns one scalar value.
|
![]() | Finalize |
Closes the underlying sql connection and releases other resources.
(Overrides Object..::..Finalize()()()().) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OpenConnection |
Opens a connection to a database.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |