The IClassMetadata type exposes the following members.

Methods

  NameDescription
GetIdentifier
Get the identifier of an instance (throw an exception if no identifier property)
GetPropertyType
Get the type of a particular (named) property
GetPropertyValue
Get the value of a particular (named) property
GetPropertyValues
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)
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

See Also