Namespaces

Types

Type TypeType

Namespace NHibernate.Type

Parent ImmutableType

Methods

Properties

Public instance methods

object Assemble(object cached, ISessionImplementor session, object owner)

Parameters
return object
object cached
ISessionImplementor session
object owner

object DeepCopy(object val)

Parameters
return object
object val

object DeepCopyNotNull(object val)

Parameters
return object
object val

object Disassemble(object value, ISessionImplementor session)

Parameters
return object
object value
ISessionImplementor session

bool Equals(object obj)

Parameters
return bool
object obj

bool Equals(object x, object y)

Parameters
return bool
object x
object y

object FromString(string xml)

Parameters
return object
string xml

object FromStringValue(string xml)

Parameters
return object
string xml

object Get(IDataReader rs, string name)

Gets the Type in the IDataReader for the Property.
This just calls gets the index of the name in the IDataReader and calls the overloaded version Get (IDataReader, Int32).
Parameters
return object The Type from the database.
IDataReader rs The IDataReader that contains the value.
string name The name of the field to get the value from.

object Get(IDataReader rs, int index)

Gets the Type in the IDataReader for the Property.
Parameters
return object The Type from the database.
IDataReader rs The IDataReader that contains the value.
int index The index of the field to get the value from.

int GetColumnSpan(IMapping session)

Parameters
return int
IMapping session

int GetHashCode()

Parameters
return int

int GetHashCode(object x, ISessionFactoryImplementor factory)

Parameters
return int
object x
ISessionFactoryImplementor factory

Type GetType()

Parameters
return Type

object Hydrate(IDataReader rs, String[] names, ISessionImplementor session, object owner)

Parameters
return object
IDataReader rs
String[] names
ISessionImplementor session
object owner

bool IsDatabaseNull(object value)

Parameters
return bool
object value

bool IsDirty(object old, object current, Boolean[] checkable, ISessionImplementor session)

Parameters
return bool
object old
object current
Boolean[] checkable
ISessionImplementor session

bool IsDirty(object old, object current, ISessionImplementor session)

Parameters
return bool
object old
object current
ISessionImplementor session

bool IsModified(object old, object current, Boolean[] checkable, ISessionImplementor session)

Parameters
return bool
object old
object current
Boolean[] checkable
ISessionImplementor session

object NullSafeGet(IDataReader rs, string name, ISessionImplementor session, object owner)

Parameters
return object
IDataReader rs
string name
ISessionImplementor session
object owner

object NullSafeGet(IDataReader rs, string name)

Parameters
return object
IDataReader rs
string name

object NullSafeGet(IDataReader rs, String[] names)

Parameters
return object
IDataReader rs
String[] names

object NullSafeGet(IDataReader rs, String[] names, ISessionImplementor session, object owner)

Parameters
return object
IDataReader rs
String[] names
ISessionImplementor session
object owner

void NullSafeSet(IDbCommand st, object value, int index, ISessionImplementor session)

Parameters
IDbCommand st
object value
int index
ISessionImplementor session

void NullSafeSet(IDbCommand cmd, object value, int index)

Parameters
IDbCommand cmd
object value
int index

void NullSafeSet(IDbCommand st, object value, int index, Boolean[] settable, ISessionImplementor session)

Parameters
IDbCommand st
object value
int index
Boolean[] settable
ISessionImplementor session

object Replace(object original, object current, ISessionImplementor session, object owner, IDictionary copiedAlready)

Parameters
return object
object original
object current
ISessionImplementor session
object owner
IDictionary copiedAlready

object ResolveIdentifier(object value, ISessionImplementor session, object owner)

Parameters
return object
object value
ISessionImplementor session
object owner

object SemiResolve(object value, ISessionImplementor session, object owner)

Parameters
return object
object value
ISessionImplementor session
object owner

void Set(IDbCommand cmd, object value, int index)

Puts the Assembly Qualified Name of the Type Property into to the IDbCommand .
This uses the Set method of the String object to do the work.
Parameters
IDbCommand cmd The IDbCommand to put the value into.
object value The Type that contains the value.
int index The index of the IDbDataParameter to start writing the value to.

SqlType[] SqlTypes(IMapping mapping)

Parameters
return SqlType[]
IMapping mapping

string ToLoggableString(object value, ISessionFactoryImplementor factory)

Parameters
return string
object value
ISessionFactoryImplementor factory

string ToString(object value)

A representation of the value to be embedded in an XML element
Parameters
return string An Xml formatted string that contains the Assembly Qualified Name.
object value The Type that contains the values.

string ToString()

Parameters
return string

Public properties

bool HasNiceEquals get;

return bool

bool IsAnyType get;

return bool

bool IsAssociationType get;

return bool

bool IsCollectionType get;

return bool

bool IsComponentType get;

return bool

bool IsEntityType get;

return bool

bool IsMutable get;

return bool

string Name get;

return string

Type ReturnedClass get;

Gets the Type that will be returned by the NullSafeGet() methods.
return Type

SqlType SqlType get;

return SqlType