Marshall the fields of a persistent instance to a prepared statement

Namespace: NHibernate.Persister.Entity
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
protected int Dehydrate(
	Object id,
	Object[] fields,
	Object rowId,
	bool[] includeProperty,
	bool[][] includeColumns,
	int table,
	IDbCommand statement,
	ISessionImplementor session,
	int index
)
Visual Basic
Protected Function Dehydrate ( _
	id As Object, _
	fields As Object(), _
	rowId As Object, _
	includeProperty As Boolean(), _
	includeColumns As Boolean()(), _
	table As Integer, _
	statement As IDbCommand, _
	session As ISessionImplementor, _
	index As Integer _
) As Integer
Visual C++
protected:
int Dehydrate(
	Object^ id, 
	array<Object^>^ fields, 
	Object^ rowId, 
	array<bool>^ includeProperty, 
	array<array<bool>^>^ includeColumns, 
	int table, 
	IDbCommand^ statement, 
	ISessionImplementor^ session, 
	int index
)

Parameters

id
Type: System..::..Object

[Missing <param name="id"/> documentation for "M:NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate(System.Object,System.Object[],System.Object,System.Boolean[],System.Boolean[][],System.Int32,System.Data.IDbCommand,NHibernate.Engine.ISessionImplementor,System.Int32)"]

fields
Type: array<System..::..Object>[]()[][]

[Missing <param name="fields"/> documentation for "M:NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate(System.Object,System.Object[],System.Object,System.Boolean[],System.Boolean[][],System.Int32,System.Data.IDbCommand,NHibernate.Engine.ISessionImplementor,System.Int32)"]

rowId
Type: System..::..Object

[Missing <param name="rowId"/> documentation for "M:NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate(System.Object,System.Object[],System.Object,System.Boolean[],System.Boolean[][],System.Int32,System.Data.IDbCommand,NHibernate.Engine.ISessionImplementor,System.Int32)"]

includeProperty
Type: array<System..::..Boolean>[]()[][]

[Missing <param name="includeProperty"/> documentation for "M:NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate(System.Object,System.Object[],System.Object,System.Boolean[],System.Boolean[][],System.Int32,System.Data.IDbCommand,NHibernate.Engine.ISessionImplementor,System.Int32)"]

includeColumns
Type: array<array<System..::..Boolean>[]()[][]>[]()[][]

[Missing <param name="includeColumns"/> documentation for "M:NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate(System.Object,System.Object[],System.Object,System.Boolean[],System.Boolean[][],System.Int32,System.Data.IDbCommand,NHibernate.Engine.ISessionImplementor,System.Int32)"]

table
Type: System..::..Int32

[Missing <param name="table"/> documentation for "M:NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate(System.Object,System.Object[],System.Object,System.Boolean[],System.Boolean[][],System.Int32,System.Data.IDbCommand,NHibernate.Engine.ISessionImplementor,System.Int32)"]

statement
Type: System.Data..::..IDbCommand

[Missing <param name="statement"/> documentation for "M:NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate(System.Object,System.Object[],System.Object,System.Boolean[],System.Boolean[][],System.Int32,System.Data.IDbCommand,NHibernate.Engine.ISessionImplementor,System.Int32)"]

session
Type: NHibernate.Engine..::..ISessionImplementor

[Missing <param name="session"/> documentation for "M:NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate(System.Object,System.Object[],System.Object,System.Boolean[],System.Boolean[][],System.Int32,System.Data.IDbCommand,NHibernate.Engine.ISessionImplementor,System.Int32)"]

index
Type: System..::..Int32

[Missing <param name="index"/> documentation for "M:NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate(System.Object,System.Object[],System.Object,System.Boolean[],System.Boolean[][],System.Int32,System.Data.IDbCommand,NHibernate.Engine.ISessionImplementor,System.Int32)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate(System.Object,System.Object[],System.Object,System.Boolean[],System.Boolean[][],System.Int32,System.Data.IDbCommand,NHibernate.Engine.ISessionImplementor,System.Int32)"]

See Also