Syntax
| C# |
|---|
public class ActiveRecordMediator<T> where T : class |
Type Parameters
- T
The type exposes the following members.
Public Constructors
Public Methods
| Name | Description | |
|---|---|---|
| Count | Overloaded. | |
| Create |
Creates (Saves) a new instance to the database.
| |
| Delete |
Deletes the instance from the database.
| |
| DeleteAll | Overloaded. | |
| Equals | (Inherited from Object.) | |
| Execute |
Invokes the specified delegate passing a valid
NHibernate session. Used for custom NHibernate queries.
| |
| ExecuteQuery2<(Of <R>)> |
Executes the query and return a strongly typed result
| |
| Exists | Overloaded. | |
| FindAll | Overloaded. | |
| FindByPrimaryKey | Overloaded. | |
| FindFirst | Overloaded. | |
| FindOne | Overloaded. | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Refresh |
Refresh the instance from the database.
| |
| Save |
Saves the instance to the database
| |
| SaveCopy |
Saves a copy of the instance to the database
| |
| SlicedFindAll | Overloaded. | |
| ToString | (Inherited from Object.) | |
| Update |
Persists the modification on the instance
state to the database.
|
Protected Methods
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |