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.UserTypesAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public interface ICompositeUserType |
Visual Basic |
---|
Public Interface ICompositeUserType |
Visual C++ |
---|
public interface class ICompositeUserType |
See Also