C# Class NHibernate.Id.Insert.OutputParamReturningDelegate

IInsertGeneratedIdentifierDelegate implementation where the underlying strategy causes the generated identitifer to be returned, as an effect of performing the insert statement, in a Output parameter. Thus, there is no need for an additional sql statement to determine the generated identitifer.
Inheritance: NHibernate.Id.Insert.AbstractReturningDelegate
ファイルを表示 Open project: nhibernate/nhibernate-core

Public Methods

Method Description
ExecuteAndExtract ( IDbCommand insert, ISessionImplementor session ) : object
OutputParamReturningDelegate ( IPostInsertIdentityPersister persister, ISessionFactoryImplementor factory ) : System
PrepareIdentifierGeneratingInsert ( ) : NHibernate.Id.Insert.IdentifierGeneratingInsert

Protected Methods

Method Description
Prepare ( NHibernate.SqlCommand.SqlCommandInfo insertSQL, ISessionImplementor session ) : IDbCommand

Method Details

ExecuteAndExtract() public method

public ExecuteAndExtract ( IDbCommand insert, ISessionImplementor session ) : object
insert IDbCommand
session ISessionImplementor
return object

OutputParamReturningDelegate() public method

public OutputParamReturningDelegate ( IPostInsertIdentityPersister persister, ISessionFactoryImplementor factory ) : System
persister IPostInsertIdentityPersister
factory ISessionFactoryImplementor
return System

Prepare() protected method

protected Prepare ( NHibernate.SqlCommand.SqlCommandInfo insertSQL, ISessionImplementor session ) : IDbCommand
insertSQL NHibernate.SqlCommand.SqlCommandInfo
session ISessionImplementor
return IDbCommand

PrepareIdentifierGeneratingInsert() public method

public PrepareIdentifierGeneratingInsert ( ) : NHibernate.Id.Insert.IdentifierGeneratingInsert
return NHibernate.Id.Insert.IdentifierGeneratingInsert