EntityWithTypedId<IdT> Class Members
In This Topic
The following tables list the members exposed by EntityWithTypedId<IdT>.
Public Properties
| Name | Description |
| Id |
Gets or sets the Id for the entity.
|
| Repository |
Gets or sets an instance of the repository for this entity
|
Top
Public Methods
Protected Methods
| Name | Description |
| GetTypeSpecificSignatureProperties | Overridden.
Enforces the template method pattern to have child objects determine which specific
properties should and should not be included in the object signature comparison. Note
that the the BaseObject already takes care of performance caching, so this method
shouldn't worry about caching...just return the goods man!
|
| GetTypeUnproxied | When NHibernate proxies objects, it masks the type of the actual entity object. This wrapper burrows into the proxied object to get its actual type.
Although this assumes NHibernate is being used, it doesn't require any NHibernate related dependencies and has no bad side effects if NHibernate isn't being used.
Related discussion is at http://groups.google.com/group/sharp-architecture/browse_thread/thread/ddd05f9baede023a ...thanks Jay Oliver! (Inherited from CommerceBuilder.DomainModel.BaseObject) |
Top
Extension Methods
| Name | Description |
| Delete |
Delete the entity from the database
|
| Save |
Save the entity to the database
|
| ToQueryString | Overloaded.
Use this method to bulid query string from NameValueCollection
|
Top
See Also