C# Класс NHibernate.Persister.Entity.AbstractEntityPersister

Superclass for built-in mapping strategies. Implements functionalty common to both mapping strategies
May be considered an immutable view of the mapping object
Наследование: IOuterJoinLoadable, IQueryable, IClassMetadata, IUniqueKeyLoadable, ISqlLoadable, ILazyPropertyInitializer, IPostInsertIdentityPersister, ILockable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
customSQLDelete SqlString[]
customSQLInsert SqlString[]
customSQLUpdate SqlString[]
deleteCallable bool[]
deleteResultCheckStyles ExecuteUpdateResultCheckStyle[]
insertCallable bool[]
insertResultCheckStyles ExecuteUpdateResultCheckStyle[]
propertyDefinedOnSubclass bool[]
propertyMapping BasicEntityPropertyMapping
rowIdName string
updateCallable bool[]
updateResultCheckStyles ExecuteUpdateResultCheckStyle[]

Private Properties

Свойство Тип Описание
CheckVersion bool
CreateJoin NHibernate.SqlCommand.JoinFragment
CreateJoin NHibernate.SqlCommand.JoinFragment
CreateLoaders void
CreateUniqueKeyLoader NHibernate.Loader.Entity.EntityLoader
GenerateGeneratedValuesSelectString NHibernate.SqlCommand.SqlString
GenerateVersionIncrementUpdateString NHibernate.SqlCommand.SqlCommandInfo
GetAppropriateLoader IUniqueEntityLoader
GetAppropriateUniqueKeyLoader NHibernate.Loader.Entity.EntityLoader
GetColumnsToTableAliasMap string>.IDictionary
GetLocker ILockingStrategy
GetSubclassEntityName string
GetSubclassPropertyIndex int
GetUpdateStrings NHibernate.SqlCommand.SqlCommandInfo[]
HasIdentifierMapper bool
InitDiscriminatorPropertyPath void
InitIdentifierPropertyPaths void
InitOrdinaryPropertyPaths void
InitPropertyPaths void
InitializeLazyPropertiesFromCache object
InitializeLazyPropertiesFromDatastore object
InitializeLazyProperty bool
InternalInitSubclassPropertyAliasesMap void
IsAllNull bool
LocateVersionType IVersionType
LogDirtyProperties void
ProcessGeneratedPropertiesWithGeneratedSql void
ProcessGeneratedPropertiesWithLoader void

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

Метод Описание
AfterInitialize ( object entity, bool lazyPropertiesAreUnfetched, ISessionImplementor session ) : void
AfterReassociate ( object entity, ISessionImplementor session ) : void
ConsumesCollectionAlias ( ) : bool
ConsumesEntityAlias ( ) : bool
CountSubclassProperties ( ) : int
CreateProxy ( object id, ISessionImplementor session ) : object
Delete ( object id, object version, int j, object obj, NHibernate.SqlCommand.SqlCommandInfo sql, ISessionImplementor session, object loadedState ) : void

Perform an SQL DELETE

Delete ( object id, object version, object obj, ISessionImplementor session ) : void
FilterFragment ( string alias ) : string
FilterFragment ( string alias, IFilter>.IDictionary enabledFilters ) : string
FindDirty ( object currentState, object previousState, object entity, ISessionImplementor session ) : int[]
FindModified ( object old, object current, object entity, ISessionImplementor session ) : int[]
ForceVersionIncrement ( object id, object currentVersion, ISessionImplementor session ) : object
FromJoinFragment ( string alias, bool innerJoin, bool includeSubclasses ) : NHibernate.SqlCommand.SqlString
FromTableFragment ( string alias ) : string
GenerateFilterConditionAlias ( string rootAlias ) : string
GenerateTableAlias ( string rootAlias, int tableNumber ) : string
GenerateTableAliasForColumn ( string rootAlias, string column ) : string
GetCascadeStyle ( int i ) : CascadeStyle
GetConcreteProxyClass ( EntityMode entityMode ) : Type
GetCurrentVersion ( object id, ISessionImplementor session ) : object

Retrieve the version number

GetDatabaseSnapshot ( object id, ISessionImplementor session ) : object[]
GetDiscriminatorAlias ( string suffix ) : string
GetFetchMode ( int i ) : FetchMode
GetIdentifier ( object obj, EntityMode entityMode ) : object
GetIdentifierAliases ( string suffix ) : string[]
GetIdentifierType ( int j ) : IType
GetInfoString ( ) : string
GetMappedClass ( EntityMode entityMode ) : Type
GetNaturalIdentifierSnapshot ( object id, ISessionImplementor session ) : object[]
GetPropertyAliases ( string suffix, int i ) : string[]
GetPropertyColumnNames ( int i ) : string[]

Get the column names for the numbered property of this class

GetPropertyColumnNames ( string propertyName ) : string[]
GetPropertyIndex ( string propertyName ) : int
GetPropertyTableName ( string propertyName ) : string
GetPropertyType ( string path ) : IType
GetPropertyValue ( object obj, int i, EntityMode entityMode ) : object
GetPropertyValue ( object obj, string propertyName, EntityMode entityMode ) : object
GetPropertyValues ( object obj, EntityMode entityMode ) : object[]
GetPropertyValuesToInsert ( object obj, IDictionary mergeMap, ISessionImplementor session ) : object[]
GetRootTableAlias ( string drivingAlias ) : string
GetSelectByUniqueKeyString ( string propertyName ) : NHibernate.SqlCommand.SqlString
GetSubclassEntityPersister ( object instance, ISessionFactoryImplementor factory, EntityMode entityMode ) : IEntityPersister
GetSubclassForDiscriminatorValue ( object value ) : string
GetSubclassPropertyColumnAliases ( string propertyName, string suffix ) : string[]
GetSubclassPropertyColumnNames ( int i ) : string[]
GetSubclassPropertyColumnNames ( string propertyName ) : string[]
GetSubclassPropertyDeclarer ( string propertyPath ) : Declarer
GetSubclassPropertyName ( int i ) : string
GetSubclassPropertyTableName ( int i ) : string
GetSubclassPropertyTableNumber ( string propertyPath ) : int Warning: When there are duplicated property names in the subclasses of the class, this method may return the wrong table number for the duplicated subclass property (note that SingleTableEntityPersister defines an overloaded form which takes the entity name.
GetSubclassPropertyType ( int i ) : IType
GetSubclassTableName ( int j ) : string
GetVersion ( object obj, EntityMode entityMode ) : object
GuessEntityMode ( object obj ) : EntityMode?
HasUninitializedLazyProperties ( object obj, EntityMode entityMode ) : bool
Hydrate ( IDataReader rs, object id, object obj, ILoadable rootLoadable, string suffixedPropertyColumns, bool allProperties, ISessionImplementor session ) : object[]

Unmarshall the fields of a persistent instance from a result set, without resolving associations or collections

IdentifierSelectFragment ( string name, string suffix ) : string
ImplementsLifecycle ( EntityMode entityMode ) : bool
ImplementsValidatable ( EntityMode entityMode ) : bool
InitializeLazyProperty ( string fieldName, object entity, ISessionImplementor session ) : object
Insert ( object fields, object obj, ISessionImplementor session ) : object
Insert ( object id, object fields, object obj, ISessionImplementor session ) : void
Instantiate ( object id, EntityMode entityMode ) : object
IsDefinedOnSubclass ( int i ) : bool
IsInstance ( object entity, EntityMode entityMode ) : bool

Determines whether the specified entity is an instance of the class managed by this persister.

IsInstrumented ( EntityMode entityMode ) : bool
IsModifiableEntity ( EntityEntry entry ) : bool
IsSubclassEntityName ( string entityName ) : bool
IsSubclassPropertyNullable ( int i ) : bool
IsTransient ( object entity, ISessionImplementor session ) : bool?
IsUnsavedVersion ( object version ) : bool?
Load ( object id, object optionalObject, LockMode lockMode, ISessionImplementor session ) : object

Load an instance using the appropriate loader (as determined by GetAppropriateLoader

LoadByUniqueKey ( string propertyName, object uniqueKey, ISessionImplementor session ) : object
Lock ( object id, object version, object obj, LockMode lockMode, ISessionImplementor session ) : void
OneToManyFilterFragment ( string alias ) : string
PostInstantiate ( ) : void
ProcessInsertGeneratedProperties ( object id, object entity, object state, ISessionImplementor session ) : void
ProcessUpdateGeneratedProperties ( object id, object entity, object state, ISessionImplementor session ) : void
PropertySelectFragment ( string name, string suffix, bool allProperties ) : string
ResetIdentifier ( object entity, object currentId, object currentVersion, EntityMode entityMode ) : void
SelectFragment ( IJoinable rhs, string rhsAlias, string lhsAlias, string entitySuffix, string collectionSuffix, bool includeCollectionColumns ) : string
SelectFragment ( string alias, string suffix ) : string
SetIdentifier ( object obj, object id, EntityMode entityMode ) : void
SetPropertyValue ( object obj, int i, object value, EntityMode entityMode ) : void
SetPropertyValue ( object obj, string propertyName, object value, EntityMode entityMode ) : void
SetPropertyValues ( object obj, object values, EntityMode entityMode ) : void
ToColumns ( string propertyName ) : string[]
ToColumns ( string name, int i ) : string[]
ToColumns ( string alias, string propertyName ) : string[]
ToIdentifierColumns ( string name ) : string[]
ToString ( ) : string
ToType ( string propertyName ) : IType
TryToType ( string propertyName, IType &type ) : bool
Update ( object id, object fields, int dirtyFields, bool hasDirtyCollection, object oldFields, object oldVersion, object obj, object rowId, ISessionImplementor session ) : void
WhereJoinFragment ( string alias, bool innerJoin, bool includeSubclasses ) : SqlString

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

Метод Описание
AbstractEntityPersister ( NHibernate.Mapping.PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory ) : System
AddDiscriminatorToInsert ( NHibernate.SqlCommand.SqlInsertBuilder insert ) : void
AddDiscriminatorToSelect ( NHibernate.SqlCommand.SelectFragment select, string name, string suffix ) : void
Check ( int rows, object id, int tableNumber, IExpectation expectation, IDbCommand statement ) : bool
ConcretePropertySelectFragment ( string alias, IInclusionChecker inclusionChecker ) : string
ConcretePropertySelectFragment ( string alias, ValueInclusion inclusions ) : string
ConcretePropertySelectFragment ( string alias, bool includeProperty ) : string
ConcretePropertySelectFragmentSansLeadingComma ( string alias, bool include ) : string
CreateEntityLoader ( LockMode lockMode ) : IUniqueEntityLoader
CreateEntityLoader ( LockMode lockMode, IFilter>.IDictionary enabledFilters ) : IUniqueEntityLoader
CreateFrom ( int tableNumber, String alias ) : string
CreateQueryLoader ( ) : void
CreateSelect ( int subclassColumnNumbers, int subclassFormulaNumbers ) : NHibernate.SqlCommand.SelectFragment
CreateUniqueKeyLoaders ( ) : void
CreateWhereByKey ( int tableNumber, string alias ) : NHibernate.SqlCommand.SqlString
Dehydrate ( object id, object fields, bool includeProperty, bool includeColumns, int j, IDbCommand st, ISessionImplementor session ) : int
Dehydrate ( object id, object fields, object rowId, bool includeProperty, bool includeColumns, int table, IDbCommand statement, ISessionImplementor session, int index ) : int

Marshall the fields of a persistent instance to a prepared statement

GenerateDeleteString ( int j ) : NHibernate.SqlCommand.SqlCommandInfo
GenerateIdentityInsertString ( bool includeProperty ) : NHibernate.SqlCommand.SqlCommandInfo
GenerateInsertGeneratedValuesSelectString ( ) : NHibernate.SqlCommand.SqlString
GenerateInsertString ( bool identityInsert, bool includeProperty ) : NHibernate.SqlCommand.SqlCommandInfo
GenerateInsertString ( bool identityInsert, bool includeProperty, int j ) : NHibernate.SqlCommand.SqlCommandInfo

Generate the SQL that inserts a row

GenerateInsertString ( bool includeProperty, int j ) : NHibernate.SqlCommand.SqlCommandInfo
GenerateLazySelectString ( ) : NHibernate.SqlCommand.SqlString
GenerateLocker ( LockMode lockMode ) : ILockingStrategy
GenerateSQLDeleteStrings ( object loadedState ) : NHibernate.SqlCommand.SqlCommandInfo[]
GenerateSelectVersionString ( ) : NHibernate.SqlCommand.SqlString

Generate the SQL that selects the version number by id

GenerateSnapshotSelectString ( ) : NHibernate.SqlCommand.SqlString
GenerateUpdateGeneratedValuesSelectString ( ) : NHibernate.SqlCommand.SqlString
GenerateUpdateString ( bool includeProperty, int j, bool useRowId ) : NHibernate.SqlCommand.SqlCommandInfo
GenerateUpdateString ( bool includeProperty, int j, object oldFields, bool useRowId ) : NHibernate.SqlCommand.SqlCommandInfo

Generate the SQL that updates a row by id (and version)

GetIdentiferProperty ( int table ) : Tuple.NHibernate.Mapping.Property
GetJoinIdKeyColumns ( int j ) : string[]
GetJoinTableId ( int j, object fields ) : object
GetJoinTableId ( int table, object obj, EntityMode entityMode ) : object
GetKeyColumns ( int table ) : string[]
GetPropertiesToInsert ( object fields ) : bool[]
GetPropertiesToUpdate ( int dirtyProperties, bool hasDirtyCollection ) : bool[]

Transform the array of property indexes to an array of booleans, true when the property is dirty

GetPropertyColumnSpan ( int i ) : int
GetPropertyUpdateability ( object entity, EntityMode entityMode ) : bool[]

Which properties appear in the SQL update? (Initialized, updateable ones!)

GetRefIdColumnOfTable ( int table ) : int?
GetSQLWhereString ( string alias ) : string
GetSequentialSelect ( string entityName ) : NHibernate.SqlCommand.SqlString
GetSubclassPropertyTableNumber ( int i ) : int
GetSubclassTableKeyColumns ( int j ) : string[]
GetTableName ( int table ) : string
GetTableUpdateNeeded ( int dirtyProperties, bool hasDirtyCollection ) : bool[]

Decide which tables need to be updated

The return here is an array of boolean values with each index corresponding to a given table in the scope of this persister.

GetTuplizer ( EntityMode entityMode ) : IEntityTuplizer
GetTuplizer ( ISessionImplementor session ) : IEntityTuplizer
InitLockers ( ) : void
InitSubclassPropertyAliasesMap ( NHibernate.Mapping.PersistentClass model ) : void

Must be called by subclasses, at the end of their constructors

Insert ( object fields, bool notNull, NHibernate.SqlCommand.SqlCommandInfo sql, object obj, ISessionImplementor session ) : object

Perform an SQL INSERT, and then retrieve a generated identifier.

This form is used for PostInsertIdentifierGenerator-style ids (IDENTITY, select, etc).

Insert ( object id, object fields, bool notNull, int j, NHibernate.SqlCommand.SqlCommandInfo sql, object obj, ISessionImplementor session ) : void

Perform an SQL INSERT.

This for is used for all non-root tables as well as the root table in cases where the identifier value is known before the insert occurs.

IsClassOrSuperclassTable ( int j ) : bool
IsDeleteCallable ( int j ) : bool
IsIdOfTable ( int property, int table ) : bool
IsInsertCallable ( int j ) : bool
IsInverseSubclassTable ( int j ) : bool
IsInverseTable ( int j ) : bool
IsNullableSubclassTable ( int j ) : bool
IsNullableTable ( int j ) : bool
IsPropertyOfTable ( int property, int table ) : bool
IsSubclassPropertyDeferred ( string propertyName, string entityName ) : bool
IsSubclassTableLazy ( int j ) : bool
IsSubclassTableSequentialSelect ( int table ) : bool
IsTableCascadeDeleteEnabled ( int j ) : bool
IsUpdateCallable ( int j ) : bool
LogStaticSQL ( ) : void
PostConstruct ( IMapping mapping ) : void
RenderSelect ( int tableNumbers, int columnNumbers, int formulaNumbers ) : SqlString
Update ( object id, object fields, object oldFields, object rowId, bool includeProperty, int j, object oldVersion, object obj, SqlCommandInfo sql, ISessionImplementor session ) : bool
UpdateOrInsert ( object id, object fields, object oldFields, object rowId, bool includeProperty, int j, object oldVersion, object obj, SqlCommandInfo sql, ISessionImplementor session ) : void

Perform an SQL UPDATE or SQL INSERT

UseGetGeneratedKeys ( ) : bool
UseInsertSelectIdentity ( ) : bool

Приватные методы

Метод Описание
CheckVersion ( bool includeProperty ) : bool
CreateJoin ( int tableNumbers, string drivingAlias ) : NHibernate.SqlCommand.JoinFragment
CreateJoin ( string name, bool innerjoin, bool includeSubclasses ) : NHibernate.SqlCommand.JoinFragment
CreateLoaders ( ) : void
CreateUniqueKeyLoader ( IType uniqueKeyType, string columns, IFilter>.IDictionary enabledFilters ) : NHibernate.Loader.Entity.EntityLoader
GenerateGeneratedValuesSelectString ( ValueInclusion inclusions ) : NHibernate.SqlCommand.SqlString
GenerateVersionIncrementUpdateString ( ) : NHibernate.SqlCommand.SqlCommandInfo
GetAppropriateLoader ( LockMode lockMode, ISessionImplementor session ) : IUniqueEntityLoader
GetAppropriateUniqueKeyLoader ( string propertyName, IFilter>.IDictionary enabledFilters ) : NHibernate.Loader.Entity.EntityLoader
GetColumnsToTableAliasMap ( string rootAlias ) : string>.IDictionary
GetLocker ( LockMode lockMode ) : ILockingStrategy
GetSubclassEntityName ( System clazz ) : string
GetSubclassPropertyIndex ( string propertyName ) : int
GetUpdateStrings ( bool byRowId, bool lazy ) : NHibernate.SqlCommand.SqlCommandInfo[]
HasIdentifierMapper ( ) : bool
InitDiscriminatorPropertyPath ( ) : void
InitIdentifierPropertyPaths ( IMapping mapping ) : void
InitOrdinaryPropertyPaths ( IMapping mapping ) : void
InitPropertyPaths ( IMapping mapping ) : void
InitializeLazyPropertiesFromCache ( string fieldName, object entity, ISessionImplementor session, EntityEntry entry, CacheEntry cacheEntry ) : object
InitializeLazyPropertiesFromDatastore ( string fieldName, object entity, ISessionImplementor session, object id, EntityEntry entry ) : object
InitializeLazyProperty ( string fieldName, object entity, ISessionImplementor session, object snapshot, int j, object propValue ) : bool
InternalInitSubclassPropertyAliasesMap ( string path, IEnumerable col ) : void
IsAllNull ( object array, int tableNumber ) : bool
LocateVersionType ( ) : IVersionType
LogDirtyProperties ( int props ) : void
ProcessGeneratedPropertiesWithGeneratedSql ( object id, object entity, object state, ISessionImplementor session, NHibernate.SqlCommand.SqlString selectionSQL, ValueInclusion generationInclusions ) : void
ProcessGeneratedPropertiesWithLoader ( object id, object entity, ISessionImplementor session ) : void

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

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

protected AbstractEntityPersister ( NHibernate.Mapping.PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory ) : System
persistentClass NHibernate.Mapping.PersistentClass
cache ICacheConcurrencyStrategy
factory ISessionFactoryImplementor
Результат System

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

protected AddDiscriminatorToInsert ( NHibernate.SqlCommand.SqlInsertBuilder insert ) : void
insert NHibernate.SqlCommand.SqlInsertBuilder
Результат void

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

protected AddDiscriminatorToSelect ( NHibernate.SqlCommand.SelectFragment select, string name, string suffix ) : void
select NHibernate.SqlCommand.SelectFragment
name string
suffix string
Результат void

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

public AfterInitialize ( object entity, bool lazyPropertiesAreUnfetched, ISessionImplementor session ) : void
entity object
lazyPropertiesAreUnfetched bool
session ISessionImplementor
Результат void

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

public AfterReassociate ( object entity, ISessionImplementor session ) : void
entity object
session ISessionImplementor
Результат void

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

protected Check ( int rows, object id, int tableNumber, IExpectation expectation, IDbCommand statement ) : bool
rows int
id object
tableNumber int
expectation IExpectation
statement IDbCommand
Результат bool

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

protected ConcretePropertySelectFragment ( string alias, IInclusionChecker inclusionChecker ) : string
alias string
inclusionChecker IInclusionChecker
Результат string

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

protected ConcretePropertySelectFragment ( string alias, ValueInclusion inclusions ) : string
alias string
inclusions ValueInclusion
Результат string

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

protected ConcretePropertySelectFragment ( string alias, bool includeProperty ) : string
alias string
includeProperty bool
Результат string

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

protected ConcretePropertySelectFragmentSansLeadingComma ( string alias, bool include ) : string
alias string
include bool
Результат string

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

public ConsumesCollectionAlias ( ) : bool
Результат bool

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

public ConsumesEntityAlias ( ) : bool
Результат bool

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

public CountSubclassProperties ( ) : int
Результат int

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

protected CreateEntityLoader ( LockMode lockMode ) : IUniqueEntityLoader
lockMode LockMode
Результат IUniqueEntityLoader

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

protected CreateEntityLoader ( LockMode lockMode, IFilter>.IDictionary enabledFilters ) : IUniqueEntityLoader
lockMode LockMode
enabledFilters IFilter>.IDictionary
Результат IUniqueEntityLoader

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

protected CreateFrom ( int tableNumber, String alias ) : string
tableNumber int
alias String
Результат string

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

public CreateProxy ( object id, ISessionImplementor session ) : object
id object
session ISessionImplementor
Результат object

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

protected CreateQueryLoader ( ) : void
Результат void

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

protected CreateSelect ( int subclassColumnNumbers, int subclassFormulaNumbers ) : NHibernate.SqlCommand.SelectFragment
subclassColumnNumbers int
subclassFormulaNumbers int
Результат NHibernate.SqlCommand.SelectFragment

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

protected CreateUniqueKeyLoaders ( ) : void
Результат void

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

protected CreateWhereByKey ( int tableNumber, string alias ) : NHibernate.SqlCommand.SqlString
tableNumber int
alias string
Результат NHibernate.SqlCommand.SqlString

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

protected Dehydrate ( object id, object fields, bool includeProperty, bool includeColumns, int j, IDbCommand st, ISessionImplementor session ) : int
id object
fields object
includeProperty bool
includeColumns bool
j int
st IDbCommand
session ISessionImplementor
Результат int

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

Marshall the fields of a persistent instance to a prepared statement
protected Dehydrate ( object id, object fields, object rowId, bool includeProperty, bool includeColumns, int table, IDbCommand statement, ISessionImplementor session, int index ) : int
id object
fields object
rowId object
includeProperty bool
includeColumns bool
table int
statement IDbCommand
session ISessionImplementor
index int
Результат int

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

Perform an SQL DELETE
public Delete ( object id, object version, int j, object obj, NHibernate.SqlCommand.SqlCommandInfo sql, ISessionImplementor session, object loadedState ) : void
id object
version object
j int
obj object
sql NHibernate.SqlCommand.SqlCommandInfo
session ISessionImplementor
loadedState object
Результат void

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

public Delete ( object id, object version, object obj, ISessionImplementor session ) : void
id object
version object
obj object
session ISessionImplementor
Результат void

FilterFragment() публичный абстрактный Метод

public abstract FilterFragment ( string alias ) : string
alias string
Результат string

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

public FilterFragment ( string alias, IFilter>.IDictionary enabledFilters ) : string
alias string
enabledFilters IFilter>.IDictionary
Результат string

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

public FindDirty ( object currentState, object previousState, object entity, ISessionImplementor session ) : int[]
currentState object
previousState object
entity object
session ISessionImplementor
Результат int[]

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

public FindModified ( object old, object current, object entity, ISessionImplementor session ) : int[]
old object
current object
entity object
session ISessionImplementor
Результат int[]

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

public ForceVersionIncrement ( object id, object currentVersion, ISessionImplementor session ) : object
id object
currentVersion object
session ISessionImplementor
Результат object

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

public FromJoinFragment ( string alias, bool innerJoin, bool includeSubclasses ) : NHibernate.SqlCommand.SqlString
alias string
innerJoin bool
includeSubclasses bool
Результат NHibernate.SqlCommand.SqlString

FromTableFragment() публичный абстрактный Метод

public abstract FromTableFragment ( string alias ) : string
alias string
Результат string

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

protected GenerateDeleteString ( int j ) : NHibernate.SqlCommand.SqlCommandInfo
j int
Результат NHibernate.SqlCommand.SqlCommandInfo

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

public GenerateFilterConditionAlias ( string rootAlias ) : string
rootAlias string
Результат string

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

protected GenerateIdentityInsertString ( bool includeProperty ) : NHibernate.SqlCommand.SqlCommandInfo
includeProperty bool
Результат NHibernate.SqlCommand.SqlCommandInfo

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

protected GenerateInsertGeneratedValuesSelectString ( ) : NHibernate.SqlCommand.SqlString
Результат NHibernate.SqlCommand.SqlString

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

protected GenerateInsertString ( bool identityInsert, bool includeProperty ) : NHibernate.SqlCommand.SqlCommandInfo
identityInsert bool
includeProperty bool
Результат NHibernate.SqlCommand.SqlCommandInfo

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

Generate the SQL that inserts a row
protected GenerateInsertString ( bool identityInsert, bool includeProperty, int j ) : NHibernate.SqlCommand.SqlCommandInfo
identityInsert bool
includeProperty bool
j int
Результат NHibernate.SqlCommand.SqlCommandInfo

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

protected GenerateInsertString ( bool includeProperty, int j ) : NHibernate.SqlCommand.SqlCommandInfo
includeProperty bool
j int
Результат NHibernate.SqlCommand.SqlCommandInfo

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

protected GenerateLazySelectString ( ) : NHibernate.SqlCommand.SqlString
Результат NHibernate.SqlCommand.SqlString

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

protected GenerateLocker ( LockMode lockMode ) : ILockingStrategy
lockMode LockMode
Результат ILockingStrategy

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

protected GenerateSQLDeleteStrings ( object loadedState ) : NHibernate.SqlCommand.SqlCommandInfo[]
loadedState object
Результат NHibernate.SqlCommand.SqlCommandInfo[]

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

Generate the SQL that selects the version number by id
protected GenerateSelectVersionString ( ) : NHibernate.SqlCommand.SqlString
Результат NHibernate.SqlCommand.SqlString

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

protected GenerateSnapshotSelectString ( ) : NHibernate.SqlCommand.SqlString
Результат NHibernate.SqlCommand.SqlString

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

public GenerateTableAlias ( string rootAlias, int tableNumber ) : string
rootAlias string
tableNumber int
Результат string

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

public GenerateTableAliasForColumn ( string rootAlias, string column ) : string
rootAlias string
column string
Результат string

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

protected GenerateUpdateGeneratedValuesSelectString ( ) : NHibernate.SqlCommand.SqlString
Результат NHibernate.SqlCommand.SqlString

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

protected GenerateUpdateString ( bool includeProperty, int j, bool useRowId ) : NHibernate.SqlCommand.SqlCommandInfo
includeProperty bool
j int
useRowId bool
Результат NHibernate.SqlCommand.SqlCommandInfo

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

Generate the SQL that updates a row by id (and version)
protected GenerateUpdateString ( bool includeProperty, int j, object oldFields, bool useRowId ) : NHibernate.SqlCommand.SqlCommandInfo
includeProperty bool
j int
oldFields object
useRowId bool
Результат NHibernate.SqlCommand.SqlCommandInfo

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

public GetCascadeStyle ( int i ) : CascadeStyle
i int
Результат NHibernate.Engine.CascadeStyle

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

public GetConcreteProxyClass ( EntityMode entityMode ) : Type
entityMode EntityMode
Результат System.Type

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

Retrieve the version number
public GetCurrentVersion ( object id, ISessionImplementor session ) : object
id object
session ISessionImplementor
Результат object

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

public GetDatabaseSnapshot ( object id, ISessionImplementor session ) : object[]
id object
session ISessionImplementor
Результат object[]

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

public GetDiscriminatorAlias ( string suffix ) : string
suffix string
Результат string

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

public GetFetchMode ( int i ) : FetchMode
i int
Результат FetchMode

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

protected GetIdentiferProperty ( int table ) : Tuple.NHibernate.Mapping.Property
table int
Результат Tuple.NHibernate.Mapping.Property

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

public GetIdentifier ( object obj, EntityMode entityMode ) : object
obj object
entityMode EntityMode
Результат object

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

public GetIdentifierAliases ( string suffix ) : string[]
suffix string
Результат string[]

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

public GetIdentifierType ( int j ) : IType
j int
Результат IType

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

public GetInfoString ( ) : string
Результат string

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

protected GetJoinIdKeyColumns ( int j ) : string[]
j int
Результат string[]

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

protected GetJoinTableId ( int j, object fields ) : object
j int
fields object
Результат object

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

protected GetJoinTableId ( int table, object obj, EntityMode entityMode ) : object
table int
obj object
entityMode EntityMode
Результат object

GetKeyColumns() защищенный абстрактный Метод

protected abstract GetKeyColumns ( int table ) : string[]
table int
Результат string[]

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

public GetMappedClass ( EntityMode entityMode ) : Type
entityMode EntityMode
Результат System.Type

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

public GetNaturalIdentifierSnapshot ( object id, ISessionImplementor session ) : object[]
id object
session ISessionImplementor
Результат object[]

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

protected GetPropertiesToInsert ( object fields ) : bool[]
fields object
Результат bool[]

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

Transform the array of property indexes to an array of booleans, true when the property is dirty
protected GetPropertiesToUpdate ( int dirtyProperties, bool hasDirtyCollection ) : bool[]
dirtyProperties int
hasDirtyCollection bool
Результат bool[]

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

public GetPropertyAliases ( string suffix, int i ) : string[]
suffix string
i int
Результат string[]

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

Get the column names for the numbered property of this class
public GetPropertyColumnNames ( int i ) : string[]
i int
Результат string[]

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

public GetPropertyColumnNames ( string propertyName ) : string[]
propertyName string
Результат string[]

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

protected GetPropertyColumnSpan ( int i ) : int
i int
Результат int

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

public GetPropertyIndex ( string propertyName ) : int
propertyName string
Результат int

GetPropertyTableName() публичный абстрактный Метод

public abstract GetPropertyTableName ( string propertyName ) : string
propertyName string
Результат string

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

public GetPropertyType ( string path ) : IType
path string
Результат IType

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

Which properties appear in the SQL update? (Initialized, updateable ones!)
protected GetPropertyUpdateability ( object entity, EntityMode entityMode ) : bool[]
entity object
entityMode EntityMode
Результат bool[]

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

public GetPropertyValue ( object obj, int i, EntityMode entityMode ) : object
obj object
i int
entityMode EntityMode
Результат object

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

public GetPropertyValue ( object obj, string propertyName, EntityMode entityMode ) : object
obj object
propertyName string
entityMode EntityMode
Результат object

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

public GetPropertyValues ( object obj, EntityMode entityMode ) : object[]
obj object
entityMode EntityMode
Результат object[]

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

public GetPropertyValuesToInsert ( object obj, IDictionary mergeMap, ISessionImplementor session ) : object[]
obj object
mergeMap IDictionary
session ISessionImplementor
Результат object[]

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

protected GetRefIdColumnOfTable ( int table ) : int?
table int
Результат int?

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

public GetRootTableAlias ( string drivingAlias ) : string
drivingAlias string
Результат string

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

protected GetSQLWhereString ( string alias ) : string
alias string
Результат string

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

public GetSelectByUniqueKeyString ( string propertyName ) : NHibernate.SqlCommand.SqlString
propertyName string
Результат NHibernate.SqlCommand.SqlString

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

protected GetSequentialSelect ( string entityName ) : NHibernate.SqlCommand.SqlString
entityName string
Результат NHibernate.SqlCommand.SqlString

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

public GetSubclassEntityPersister ( object instance, ISessionFactoryImplementor factory, EntityMode entityMode ) : IEntityPersister
instance object
factory ISessionFactoryImplementor
entityMode EntityMode
Результат IEntityPersister

GetSubclassForDiscriminatorValue() публичный абстрактный Метод

public abstract GetSubclassForDiscriminatorValue ( object value ) : string
value object
Результат string

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

public GetSubclassPropertyColumnAliases ( string propertyName, string suffix ) : string[]
propertyName string
suffix string
Результат string[]

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

public GetSubclassPropertyColumnNames ( int i ) : string[]
i int
Результат string[]

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

public GetSubclassPropertyColumnNames ( string propertyName ) : string[]
propertyName string
Результат string[]

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

public GetSubclassPropertyDeclarer ( string propertyPath ) : Declarer
propertyPath string
Результат Declarer

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

public GetSubclassPropertyName ( int i ) : string
i int
Результат string

GetSubclassPropertyTableName() публичный абстрактный Метод

public abstract GetSubclassPropertyTableName ( int i ) : string
i int
Результат string

GetSubclassPropertyTableNumber() защищенный абстрактный Метод

protected abstract GetSubclassPropertyTableNumber ( int i ) : int
i int
Результат int

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

Warning: When there are duplicated property names in the subclasses of the class, this method may return the wrong table number for the duplicated subclass property (note that SingleTableEntityPersister defines an overloaded form which takes the entity name.
public GetSubclassPropertyTableNumber ( string propertyPath ) : int
propertyPath string
Результат int

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

public GetSubclassPropertyType ( int i ) : IType
i int
Результат IType

GetSubclassTableKeyColumns() защищенный абстрактный Метод

protected abstract GetSubclassTableKeyColumns ( int j ) : string[]
j int
Результат string[]

GetSubclassTableName() публичный абстрактный Метод

public abstract GetSubclassTableName ( int j ) : string
j int
Результат string

GetTableName() защищенный абстрактный Метод

protected abstract GetTableName ( int table ) : string
table int
Результат string

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

Decide which tables need to be updated
The return here is an array of boolean values with each index corresponding to a given table in the scope of this persister.
protected GetTableUpdateNeeded ( int dirtyProperties, bool hasDirtyCollection ) : bool[]
dirtyProperties int The indices of all the entity properties considered dirty.
hasDirtyCollection bool Whether any collections owned by the entity which were considered dirty.
Результат bool[]

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

protected GetTuplizer ( EntityMode entityMode ) : IEntityTuplizer
entityMode EntityMode
Результат IEntityTuplizer

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

protected GetTuplizer ( ISessionImplementor session ) : IEntityTuplizer
session ISessionImplementor
Результат IEntityTuplizer

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

public GetVersion ( object obj, EntityMode entityMode ) : object
obj object
entityMode EntityMode
Результат object

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

public GuessEntityMode ( object obj ) : EntityMode?
obj object
Результат EntityMode?

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

public HasUninitializedLazyProperties ( object obj, EntityMode entityMode ) : bool
obj object
entityMode EntityMode
Результат bool

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

Unmarshall the fields of a persistent instance from a result set, without resolving associations or collections
public Hydrate ( IDataReader rs, object id, object obj, ILoadable rootLoadable, string suffixedPropertyColumns, bool allProperties, ISessionImplementor session ) : object[]
rs IDataReader
id object
obj object
rootLoadable ILoadable
suffixedPropertyColumns string
allProperties bool
session ISessionImplementor
Результат object[]

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

public IdentifierSelectFragment ( string name, string suffix ) : string
name string
suffix string
Результат string

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

public ImplementsLifecycle ( EntityMode entityMode ) : bool
entityMode EntityMode
Результат bool

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

public ImplementsValidatable ( EntityMode entityMode ) : bool
entityMode EntityMode
Результат bool

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

protected InitLockers ( ) : void
Результат void

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

Must be called by subclasses, at the end of their constructors
protected InitSubclassPropertyAliasesMap ( NHibernate.Mapping.PersistentClass model ) : void
model NHibernate.Mapping.PersistentClass
Результат void

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

public InitializeLazyProperty ( string fieldName, object entity, ISessionImplementor session ) : object
fieldName string
entity object
session ISessionImplementor
Результат object

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

Perform an SQL INSERT, and then retrieve a generated identifier.
This form is used for PostInsertIdentifierGenerator-style ids (IDENTITY, select, etc).
protected Insert ( object fields, bool notNull, NHibernate.SqlCommand.SqlCommandInfo sql, object obj, ISessionImplementor session ) : object
fields object
notNull bool
sql NHibernate.SqlCommand.SqlCommandInfo
obj object
session ISessionImplementor
Результат object

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

public Insert ( object fields, object obj, ISessionImplementor session ) : object
fields object
obj object
session ISessionImplementor
Результат object

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

Perform an SQL INSERT.
This for is used for all non-root tables as well as the root table in cases where the identifier value is known before the insert occurs.
protected Insert ( object id, object fields, bool notNull, int j, NHibernate.SqlCommand.SqlCommandInfo sql, object obj, ISessionImplementor session ) : void
id object
fields object
notNull bool
j int
sql NHibernate.SqlCommand.SqlCommandInfo
obj object
session ISessionImplementor
Результат void

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

public Insert ( object id, object fields, object obj, ISessionImplementor session ) : void
id object
fields object
obj object
session ISessionImplementor
Результат void

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

public Instantiate ( object id, EntityMode entityMode ) : object
id object
entityMode EntityMode
Результат object

IsClassOrSuperclassTable() защищенный абстрактный Метод

protected abstract IsClassOrSuperclassTable ( int j ) : bool
j int
Результат bool

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

public IsDefinedOnSubclass ( int i ) : bool
i int
Результат bool

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

protected IsDeleteCallable ( int j ) : bool
j int
Результат bool

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

protected IsIdOfTable ( int property, int table ) : bool
property int
table int
Результат bool

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

protected IsInsertCallable ( int j ) : bool
j int
Результат bool

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

Determines whether the specified entity is an instance of the class managed by this persister.
public IsInstance ( object entity, EntityMode entityMode ) : bool
entity object The entity.
entityMode EntityMode The entity mode.
Результат bool

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

public IsInstrumented ( EntityMode entityMode ) : bool
entityMode EntityMode
Результат bool

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

protected IsInverseSubclassTable ( int j ) : bool
j int
Результат bool

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

protected IsInverseTable ( int j ) : bool
j int
Результат bool

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

public IsModifiableEntity ( EntityEntry entry ) : bool
entry EntityEntry
Результат bool

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

protected IsNullableSubclassTable ( int j ) : bool
j int
Результат bool

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

protected IsNullableTable ( int j ) : bool
j int
Результат bool

IsPropertyOfTable() защищенный абстрактный Метод

protected abstract IsPropertyOfTable ( int property, int table ) : bool
property int
table int
Результат bool

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

public IsSubclassEntityName ( string entityName ) : bool
entityName string
Результат bool

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

protected IsSubclassPropertyDeferred ( string propertyName, string entityName ) : bool
propertyName string
entityName string
Результат bool

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

public IsSubclassPropertyNullable ( int i ) : bool
i int
Результат bool

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

protected IsSubclassTableLazy ( int j ) : bool
j int
Результат bool

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

protected IsSubclassTableSequentialSelect ( int table ) : bool
table int
Результат bool

IsTableCascadeDeleteEnabled() защищенный абстрактный Метод

protected abstract IsTableCascadeDeleteEnabled ( int j ) : bool
j int
Результат bool

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

public IsTransient ( object entity, ISessionImplementor session ) : bool?
entity object
session ISessionImplementor
Результат bool?

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

public IsUnsavedVersion ( object version ) : bool?
version object
Результат bool?

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

protected IsUpdateCallable ( int j ) : bool
j int
Результат bool

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

Load an instance using the appropriate loader (as determined by GetAppropriateLoader
public Load ( object id, object optionalObject, LockMode lockMode, ISessionImplementor session ) : object
id object
optionalObject object
lockMode LockMode
session ISessionImplementor
Результат object

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

public LoadByUniqueKey ( string propertyName, object uniqueKey, ISessionImplementor session ) : object
propertyName string
uniqueKey object
session ISessionImplementor
Результат object

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

public Lock ( object id, object version, object obj, LockMode lockMode, ISessionImplementor session ) : void
id object
version object
obj object
lockMode LockMode
session ISessionImplementor
Результат void

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

protected LogStaticSQL ( ) : void
Результат void

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

public OneToManyFilterFragment ( string alias ) : string
alias string
Результат string

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

protected PostConstruct ( IMapping mapping ) : void
mapping IMapping
Результат void

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

public PostInstantiate ( ) : void
Результат void

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

public ProcessInsertGeneratedProperties ( object id, object entity, object state, ISessionImplementor session ) : void
id object
entity object
state object
session ISessionImplementor
Результат void

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

public ProcessUpdateGeneratedProperties ( object id, object entity, object state, ISessionImplementor session ) : void
id object
entity object
state object
session ISessionImplementor
Результат void

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

public PropertySelectFragment ( string name, string suffix, bool allProperties ) : string
name string
suffix string
allProperties bool
Результат string

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

protected RenderSelect ( int tableNumbers, int columnNumbers, int formulaNumbers ) : SqlString
tableNumbers int
columnNumbers int
formulaNumbers int
Результат SqlString

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

public ResetIdentifier ( object entity, object currentId, object currentVersion, EntityMode entityMode ) : void
entity object
currentId object
currentVersion object
entityMode EntityMode
Результат void

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

public SelectFragment ( IJoinable rhs, string rhsAlias, string lhsAlias, string entitySuffix, string collectionSuffix, bool includeCollectionColumns ) : string
rhs IJoinable
rhsAlias string
lhsAlias string
entitySuffix string
collectionSuffix string
includeCollectionColumns bool
Результат string

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

public SelectFragment ( string alias, string suffix ) : string
alias string
suffix string
Результат string

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

public SetIdentifier ( object obj, object id, EntityMode entityMode ) : void
obj object
id object
entityMode EntityMode
Результат void

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

public SetPropertyValue ( object obj, int i, object value, EntityMode entityMode ) : void
obj object
i int
value object
entityMode EntityMode
Результат void

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

public SetPropertyValue ( object obj, string propertyName, object value, EntityMode entityMode ) : void
obj object
propertyName string
value object
entityMode EntityMode
Результат void

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

public SetPropertyValues ( object obj, object values, EntityMode entityMode ) : void
obj object
values object
entityMode EntityMode
Результат void

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

public ToColumns ( string propertyName ) : string[]
propertyName string
Результат string[]

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

public ToColumns ( string name, int i ) : string[]
name string
i int
Результат string[]

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

public ToColumns ( string alias, string propertyName ) : string[]
alias string
propertyName string
Результат string[]

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

public ToIdentifierColumns ( string name ) : string[]
name string
Результат string[]

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

public ToString ( ) : string
Результат string

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

public ToType ( string propertyName ) : IType
propertyName string
Результат IType

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

public TryToType ( string propertyName, IType &type ) : bool
propertyName string
type IType
Результат bool

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

protected Update ( object id, object fields, object oldFields, object rowId, bool includeProperty, int j, object oldVersion, object obj, SqlCommandInfo sql, ISessionImplementor session ) : bool
id object
fields object
oldFields object
rowId object
includeProperty bool
j int
oldVersion object
obj object
sql SqlCommandInfo
session ISessionImplementor
Результат bool

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

public Update ( object id, object fields, int dirtyFields, bool hasDirtyCollection, object oldFields, object oldVersion, object obj, object rowId, ISessionImplementor session ) : void
id object
fields object
dirtyFields int
hasDirtyCollection bool
oldFields object
oldVersion object
obj object
rowId object
session ISessionImplementor
Результат void

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

Perform an SQL UPDATE or SQL INSERT
protected UpdateOrInsert ( object id, object fields, object oldFields, object rowId, bool includeProperty, int j, object oldVersion, object obj, SqlCommandInfo sql, ISessionImplementor session ) : void
id object
fields object
oldFields object
rowId object
includeProperty bool
j int
oldVersion object
obj object
sql SqlCommandInfo
session ISessionImplementor
Результат void

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

protected UseGetGeneratedKeys ( ) : bool
Результат bool

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

protected UseInsertSelectIdentity ( ) : bool
Результат bool

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

public WhereJoinFragment ( string alias, bool innerJoin, bool includeSubclasses ) : SqlString
alias string
innerJoin bool
includeSubclasses bool
Результат SqlString

Описание свойств

customSQLDelete защищенное свойство

protected SqlString[] customSQLDelete
Результат SqlString[]

customSQLInsert защищенное свойство

protected SqlString[] customSQLInsert
Результат SqlString[]

customSQLUpdate защищенное свойство

protected SqlString[] customSQLUpdate
Результат SqlString[]

deleteCallable защищенное свойство

protected bool[] deleteCallable
Результат bool[]

deleteResultCheckStyles защищенное свойство

protected ExecuteUpdateResultCheckStyle[] deleteResultCheckStyles
Результат ExecuteUpdateResultCheckStyle[]

insertCallable защищенное свойство

protected bool[] insertCallable
Результат bool[]

insertResultCheckStyles защищенное свойство

protected ExecuteUpdateResultCheckStyle[] insertResultCheckStyles
Результат ExecuteUpdateResultCheckStyle[]

propertyDefinedOnSubclass защищенное свойство

protected bool[] propertyDefinedOnSubclass
Результат bool[]

propertyMapping защищенное свойство

protected BasicEntityPropertyMapping propertyMapping
Результат BasicEntityPropertyMapping

rowIdName защищенное свойство

protected string rowIdName
Результат string

updateCallable защищенное свойство

protected bool[] updateCallable
Результат bool[]

updateResultCheckStyles защищенное свойство

protected ExecuteUpdateResultCheckStyle[] updateResultCheckStyles
Результат ExecuteUpdateResultCheckStyle[]