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
Afficher le fichier Open project: nhibernate/nhibernate-core

Méthodes publiques

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

Méthodes protégées

Méthode Description
Prepare ( NHibernate.SqlCommand.SqlCommandInfo insertSQL, ISessionImplementor session ) : IDbCommand

Method Details

ExecuteAndExtract() public méthode

public ExecuteAndExtract ( IDbCommand insert, ISessionImplementor session ) : object
insert IDbCommand
session ISessionImplementor
Résultat object

OutputParamReturningDelegate() public méthode

public OutputParamReturningDelegate ( IPostInsertIdentityPersister persister, ISessionFactoryImplementor factory ) : System
persister IPostInsertIdentityPersister
factory ISessionFactoryImplementor
Résultat System

Prepare() protected méthode

protected Prepare ( NHibernate.SqlCommand.SqlCommandInfo insertSQL, ISessionImplementor session ) : IDbCommand
insertSQL NHibernate.SqlCommand.SqlCommandInfo
session ISessionImplementor
Résultat IDbCommand

PrepareIdentifierGeneratingInsert() public méthode

public PrepareIdentifierGeneratingInsert ( ) : NHibernate.Id.Insert.IdentifierGeneratingInsert
Résultat NHibernate.Id.Insert.IdentifierGeneratingInsert