The IClassMetadata type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| GetIdentifier |
Get the identifier of an instance (throw an exception if no identifier property)
| |
| GetMappedClass |
The persistent class
| |
| GetPropertyType | Get the type of a particular (named) property | |
| GetPropertyValue |
Get the value of a particular (named) property
| |
| GetPropertyValues | Extract the property values from the given entity. | |
| GetPropertyValuesToInsert | Return the values of the mapped properties of the object | |
| GetVersion |
Get the version number (or timestamp) from the object's version property
(or return null if not versioned)
| |
| ImplementsLifecycle | Does the class implement the ILifecycle interface? | |
| ImplementsValidatable | Does the class implement the IValidatable interface? | |
| Instantiate |
Create a class instance initialized with the given identifier
| |
| SetIdentifier |
Set the identifier of an instance (or do nothing if no identifier property)
| |
| SetPropertyValue |
Set the value of a particular (named) property
| |
| SetPropertyValues |
Set the given values to the mapped properties of the given object
|