C# Класс 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.
Наследование: NHibernate.Id.Insert.AbstractReturningDelegate
Показать файл Открыть проект

Открытые методы

Метод Описание
ExecuteAndExtract ( IDbCommand insert, ISessionImplementor session ) : object
OutputParamReturningDelegate ( IPostInsertIdentityPersister persister, ISessionFactoryImplementor factory ) : System
PrepareIdentifierGeneratingInsert ( ) : NHibernate.Id.Insert.IdentifierGeneratingInsert

Защищенные методы

Метод Описание
Prepare ( NHibernate.SqlCommand.SqlCommandInfo insertSQL, ISessionImplementor session ) : IDbCommand

Описание методов

ExecuteAndExtract() публичный Метод

public ExecuteAndExtract ( IDbCommand insert, ISessionImplementor session ) : object
insert IDbCommand
session ISessionImplementor
Результат object

OutputParamReturningDelegate() публичный Метод

public OutputParamReturningDelegate ( IPostInsertIdentityPersister persister, ISessionFactoryImplementor factory ) : System
persister IPostInsertIdentityPersister
factory ISessionFactoryImplementor
Результат System

Prepare() защищенный Метод

protected Prepare ( NHibernate.SqlCommand.SqlCommandInfo insertSQL, ISessionImplementor session ) : IDbCommand
insertSQL NHibernate.SqlCommand.SqlCommandInfo
session ISessionImplementor
Результат IDbCommand

PrepareIdentifierGeneratingInsert() публичный Метод

public PrepareIdentifierGeneratingInsert ( ) : NHibernate.Id.Insert.IdentifierGeneratingInsert
Результат NHibernate.Id.Insert.IdentifierGeneratingInsert