A UserType that may be dereferenced in a query.
This interface allows a custom type to define "properties".
These need not necessarily correspond to physical .NET style properties.
A ICompositeUserType may be used in almost every way
that a component may be used. It may even contain many-to-one
associations.
Implementors must be immutable and must declare a public
default constructor.
Unlike UserType, cacheability does not depend upon
serializability. Instead, Assemble() and
Disassemble() provide conversion to/from a cacheable
representation.
Namespace:
NHibernate.UserTypes
Assembly:
NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Interface ICompositeUserType |
C# |
---|
public interface ICompositeUserType |
Visual C++ |
---|
public interface class ICompositeUserType |
JavaScript |
---|
NHibernate.UserTypes.ICompositeUserType = function();
NHibernate.UserTypes.ICompositeUserType.createInterface('NHibernate.UserTypes.ICompositeUserType'); |
See Also