C# Class MyUserType, code

Inheritance: ICompositeUserType
显示文件 Open project: shendongnian/code

Public Methods

Method Description
Assemble ( object cached, ISessionImplementor session, object owner ) : object
DeepCopy ( object value ) : object
Disassemble ( object value, ISessionImplementor session ) : object
GetHashCode ( object x ) : int
GetPropertyValue ( object component, int property ) : object
NullSafeGet ( IDataReader dr, Array, names, ISessionImplementor session, object owner ) : object
NullSafeSet ( IDbCommand cmd, object value, int index, Array, settable, NHibernate.Engine.ISessionImplementor session ) : void
Replace ( object original, object target, NHibernate.Engine.ISessionImplementor session, object owner ) : object
SetPropertyValue ( object component, int property, object value ) : void

Private Methods

Method Description
ICompositeUserType ( object x, object y ) : bool

Method Details

Assemble() public method

public Assemble ( object cached, ISessionImplementor session, object owner ) : object
cached object
session ISessionImplementor
owner object
return object

DeepCopy() public method

public DeepCopy ( object value ) : object
value object
return object

Disassemble() public method

public Disassemble ( object value, ISessionImplementor session ) : object
value object
session ISessionImplementor
return object

GetHashCode() public method

public GetHashCode ( object x ) : int
x object
return int

GetPropertyValue() public method

public GetPropertyValue ( object component, int property ) : object
component object
property int
return object

NullSafeGet() public method

public NullSafeGet ( IDataReader dr, Array, names, ISessionImplementor session, object owner ) : object
dr IDataReader
names Array,
session ISessionImplementor
owner object
return object

NullSafeSet() public method

public NullSafeSet ( IDbCommand cmd, object value, int index, Array, settable, NHibernate.Engine.ISessionImplementor session ) : void
cmd IDbCommand
value object
index int
settable Array,
session NHibernate.Engine.ISessionImplementor
return void

Replace() public method

public Replace ( object original, object target, NHibernate.Engine.ISessionImplementor session, object owner ) : object
original object
target object
session NHibernate.Engine.ISessionImplementor
owner object
return object

SetPropertyValue() public method

public SetPropertyValue ( object component, int property, object value ) : void
component object
property int
value object
return void