C# Class 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
Inheritance: IOuterJoinLoadable, IQueryable, IClassMetadata, IUniqueKeyLoadable, ISqlLoadable, ILazyPropertyInitializer, IPostInsertIdentityPersister, ILockable
Afficher le fichier Open project: nhibernate/nhibernate-core Class Usage Examples

Protected Properties

Свойство Type Description
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

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

AbstractEntityPersister() protected méthode

protected AbstractEntityPersister ( NHibernate.Mapping.PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory ) : System
persistentClass NHibernate.Mapping.PersistentClass
cache ICacheConcurrencyStrategy
factory ISessionFactoryImplementor
Résultat System

AddDiscriminatorToInsert() protected méthode

protected AddDiscriminatorToInsert ( NHibernate.SqlCommand.SqlInsertBuilder insert ) : void
insert NHibernate.SqlCommand.SqlInsertBuilder
Résultat void

AddDiscriminatorToSelect() protected méthode

protected AddDiscriminatorToSelect ( NHibernate.SqlCommand.SelectFragment select, string name, string suffix ) : void
select NHibernate.SqlCommand.SelectFragment
name string
suffix string
Résultat void

AfterInitialize() public méthode

public AfterInitialize ( object entity, bool lazyPropertiesAreUnfetched, ISessionImplementor session ) : void
entity object
lazyPropertiesAreUnfetched bool
session ISessionImplementor
Résultat void

AfterReassociate() public méthode

public AfterReassociate ( object entity, ISessionImplementor session ) : void
entity object
session ISessionImplementor
Résultat void

Check() protected méthode

protected Check ( int rows, object id, int tableNumber, IExpectation expectation, IDbCommand statement ) : bool
rows int
id object
tableNumber int
expectation IExpectation
statement IDbCommand
Résultat bool

ConcretePropertySelectFragment() protected méthode

protected ConcretePropertySelectFragment ( string alias, IInclusionChecker inclusionChecker ) : string
alias string
inclusionChecker IInclusionChecker
Résultat string

ConcretePropertySelectFragment() protected méthode

protected ConcretePropertySelectFragment ( string alias, ValueInclusion inclusions ) : string
alias string
inclusions ValueInclusion
Résultat string

ConcretePropertySelectFragment() protected méthode

protected ConcretePropertySelectFragment ( string alias, bool includeProperty ) : string
alias string
includeProperty bool
Résultat string

ConcretePropertySelectFragmentSansLeadingComma() protected méthode

protected ConcretePropertySelectFragmentSansLeadingComma ( string alias, bool include ) : string
alias string
include bool
Résultat string

ConsumesCollectionAlias() public méthode

public ConsumesCollectionAlias ( ) : bool
Résultat bool

ConsumesEntityAlias() public méthode

public ConsumesEntityAlias ( ) : bool
Résultat bool

CountSubclassProperties() public méthode

public CountSubclassProperties ( ) : int
Résultat int

CreateEntityLoader() protected méthode

protected CreateEntityLoader ( LockMode lockMode ) : IUniqueEntityLoader
lockMode LockMode
Résultat IUniqueEntityLoader

CreateEntityLoader() protected méthode

protected CreateEntityLoader ( LockMode lockMode, IFilter>.IDictionary enabledFilters ) : IUniqueEntityLoader
lockMode LockMode
enabledFilters IFilter>.IDictionary
Résultat IUniqueEntityLoader

CreateFrom() protected méthode

protected CreateFrom ( int tableNumber, String alias ) : string
tableNumber int
alias String
Résultat string

CreateProxy() public méthode

public CreateProxy ( object id, ISessionImplementor session ) : object
id object
session ISessionImplementor
Résultat object

CreateQueryLoader() protected méthode

protected CreateQueryLoader ( ) : void
Résultat void

CreateSelect() protected méthode

protected CreateSelect ( int subclassColumnNumbers, int subclassFormulaNumbers ) : NHibernate.SqlCommand.SelectFragment
subclassColumnNumbers int
subclassFormulaNumbers int
Résultat NHibernate.SqlCommand.SelectFragment

CreateUniqueKeyLoaders() protected méthode

protected CreateUniqueKeyLoaders ( ) : void
Résultat void

CreateWhereByKey() protected méthode

protected CreateWhereByKey ( int tableNumber, string alias ) : NHibernate.SqlCommand.SqlString
tableNumber int
alias string
Résultat NHibernate.SqlCommand.SqlString

Dehydrate() protected méthode

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
Résultat int

Dehydrate() protected méthode

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
Résultat int

Delete() public méthode

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
Résultat void

Delete() public méthode

public Delete ( object id, object version, object obj, ISessionImplementor session ) : void
id object
version object
obj object
session ISessionImplementor
Résultat void

FilterFragment() public abstract méthode

public abstract FilterFragment ( string alias ) : string
alias string
Résultat string

FilterFragment() public méthode

public FilterFragment ( string alias, IFilter>.IDictionary enabledFilters ) : string
alias string
enabledFilters IFilter>.IDictionary
Résultat string

FindDirty() public méthode

public FindDirty ( object currentState, object previousState, object entity, ISessionImplementor session ) : int[]
currentState object
previousState object
entity object
session ISessionImplementor
Résultat int[]

FindModified() public méthode

public FindModified ( object old, object current, object entity, ISessionImplementor session ) : int[]
old object
current object
entity object
session ISessionImplementor
Résultat int[]

ForceVersionIncrement() public méthode

public ForceVersionIncrement ( object id, object currentVersion, ISessionImplementor session ) : object
id object
currentVersion object
session ISessionImplementor
Résultat object

FromJoinFragment() public méthode

public FromJoinFragment ( string alias, bool innerJoin, bool includeSubclasses ) : NHibernate.SqlCommand.SqlString
alias string
innerJoin bool
includeSubclasses bool
Résultat NHibernate.SqlCommand.SqlString

FromTableFragment() public abstract méthode

public abstract FromTableFragment ( string alias ) : string
alias string
Résultat string

GenerateDeleteString() protected méthode

protected GenerateDeleteString ( int j ) : NHibernate.SqlCommand.SqlCommandInfo
j int
Résultat NHibernate.SqlCommand.SqlCommandInfo

GenerateFilterConditionAlias() public méthode

public GenerateFilterConditionAlias ( string rootAlias ) : string
rootAlias string
Résultat string

GenerateIdentityInsertString() protected méthode

protected GenerateIdentityInsertString ( bool includeProperty ) : NHibernate.SqlCommand.SqlCommandInfo
includeProperty bool
Résultat NHibernate.SqlCommand.SqlCommandInfo

GenerateInsertGeneratedValuesSelectString() protected méthode

protected GenerateInsertGeneratedValuesSelectString ( ) : NHibernate.SqlCommand.SqlString
Résultat NHibernate.SqlCommand.SqlString

GenerateInsertString() protected méthode

protected GenerateInsertString ( bool identityInsert, bool includeProperty ) : NHibernate.SqlCommand.SqlCommandInfo
identityInsert bool
includeProperty bool
Résultat NHibernate.SqlCommand.SqlCommandInfo

GenerateInsertString() protected méthode

Generate the SQL that inserts a row
protected GenerateInsertString ( bool identityInsert, bool includeProperty, int j ) : NHibernate.SqlCommand.SqlCommandInfo
identityInsert bool
includeProperty bool
j int
Résultat NHibernate.SqlCommand.SqlCommandInfo

GenerateInsertString() protected méthode

protected GenerateInsertString ( bool includeProperty, int j ) : NHibernate.SqlCommand.SqlCommandInfo
includeProperty bool
j int
Résultat NHibernate.SqlCommand.SqlCommandInfo

GenerateLazySelectString() protected méthode

protected GenerateLazySelectString ( ) : NHibernate.SqlCommand.SqlString
Résultat NHibernate.SqlCommand.SqlString

GenerateLocker() protected méthode

protected GenerateLocker ( LockMode lockMode ) : ILockingStrategy
lockMode LockMode
Résultat ILockingStrategy

GenerateSQLDeleteStrings() protected méthode

protected GenerateSQLDeleteStrings ( object loadedState ) : NHibernate.SqlCommand.SqlCommandInfo[]
loadedState object
Résultat NHibernate.SqlCommand.SqlCommandInfo[]

GenerateSelectVersionString() protected méthode

Generate the SQL that selects the version number by id
protected GenerateSelectVersionString ( ) : NHibernate.SqlCommand.SqlString
Résultat NHibernate.SqlCommand.SqlString

GenerateSnapshotSelectString() protected méthode

protected GenerateSnapshotSelectString ( ) : NHibernate.SqlCommand.SqlString
Résultat NHibernate.SqlCommand.SqlString

GenerateTableAlias() public méthode

public GenerateTableAlias ( string rootAlias, int tableNumber ) : string
rootAlias string
tableNumber int
Résultat string

GenerateTableAliasForColumn() public méthode

public GenerateTableAliasForColumn ( string rootAlias, string column ) : string
rootAlias string
column string
Résultat string

GenerateUpdateGeneratedValuesSelectString() protected méthode

protected GenerateUpdateGeneratedValuesSelectString ( ) : NHibernate.SqlCommand.SqlString
Résultat NHibernate.SqlCommand.SqlString

GenerateUpdateString() protected méthode

protected GenerateUpdateString ( bool includeProperty, int j, bool useRowId ) : NHibernate.SqlCommand.SqlCommandInfo
includeProperty bool
j int
useRowId bool
Résultat NHibernate.SqlCommand.SqlCommandInfo

GenerateUpdateString() protected méthode

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
Résultat NHibernate.SqlCommand.SqlCommandInfo

GetCascadeStyle() public méthode

public GetCascadeStyle ( int i ) : CascadeStyle
i int
Résultat NHibernate.Engine.CascadeStyle

GetConcreteProxyClass() public méthode

public GetConcreteProxyClass ( EntityMode entityMode ) : Type
entityMode EntityMode
Résultat System.Type

GetCurrentVersion() public méthode

Retrieve the version number
public GetCurrentVersion ( object id, ISessionImplementor session ) : object
id object
session ISessionImplementor
Résultat object

GetDatabaseSnapshot() public méthode

public GetDatabaseSnapshot ( object id, ISessionImplementor session ) : object[]
id object
session ISessionImplementor
Résultat object[]

GetDiscriminatorAlias() public méthode

public GetDiscriminatorAlias ( string suffix ) : string
suffix string
Résultat string

GetFetchMode() public méthode

public GetFetchMode ( int i ) : FetchMode
i int
Résultat FetchMode

GetIdentiferProperty() protected méthode

protected GetIdentiferProperty ( int table ) : Tuple.NHibernate.Mapping.Property
table int
Résultat Tuple.NHibernate.Mapping.Property

GetIdentifier() public méthode

public GetIdentifier ( object obj, EntityMode entityMode ) : object
obj object
entityMode EntityMode
Résultat object

GetIdentifierAliases() public méthode

public GetIdentifierAliases ( string suffix ) : string[]
suffix string
Résultat string[]

GetIdentifierType() public méthode

public GetIdentifierType ( int j ) : IType
j int
Résultat IType

GetInfoString() public méthode

public GetInfoString ( ) : string
Résultat string

GetJoinIdKeyColumns() protected méthode

protected GetJoinIdKeyColumns ( int j ) : string[]
j int
Résultat string[]

GetJoinTableId() protected méthode

protected GetJoinTableId ( int j, object fields ) : object
j int
fields object
Résultat object

GetJoinTableId() protected méthode

protected GetJoinTableId ( int table, object obj, EntityMode entityMode ) : object
table int
obj object
entityMode EntityMode
Résultat object

GetKeyColumns() protected abstract méthode

protected abstract GetKeyColumns ( int table ) : string[]
table int
Résultat string[]

GetMappedClass() public méthode

public GetMappedClass ( EntityMode entityMode ) : Type
entityMode EntityMode
Résultat System.Type

GetNaturalIdentifierSnapshot() public méthode

public GetNaturalIdentifierSnapshot ( object id, ISessionImplementor session ) : object[]
id object
session ISessionImplementor
Résultat object[]

GetPropertiesToInsert() protected méthode

protected GetPropertiesToInsert ( object fields ) : bool[]
fields object
Résultat bool[]

GetPropertiesToUpdate() protected méthode

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
Résultat bool[]

GetPropertyAliases() public méthode

public GetPropertyAliases ( string suffix, int i ) : string[]
suffix string
i int
Résultat string[]

GetPropertyColumnNames() public méthode

Get the column names for the numbered property of this class
public GetPropertyColumnNames ( int i ) : string[]
i int
Résultat string[]

GetPropertyColumnNames() public méthode

public GetPropertyColumnNames ( string propertyName ) : string[]
propertyName string
Résultat string[]

GetPropertyColumnSpan() protected méthode

protected GetPropertyColumnSpan ( int i ) : int
i int
Résultat int

GetPropertyIndex() public méthode

public GetPropertyIndex ( string propertyName ) : int
propertyName string
Résultat int

GetPropertyTableName() public abstract méthode

public abstract GetPropertyTableName ( string propertyName ) : string
propertyName string
Résultat string

GetPropertyType() public méthode

public GetPropertyType ( string path ) : IType
path string
Résultat IType

GetPropertyUpdateability() protected méthode

Which properties appear in the SQL update? (Initialized, updateable ones!)
protected GetPropertyUpdateability ( object entity, EntityMode entityMode ) : bool[]
entity object
entityMode EntityMode
Résultat bool[]

GetPropertyValue() public méthode

public GetPropertyValue ( object obj, int i, EntityMode entityMode ) : object
obj object
i int
entityMode EntityMode
Résultat object

GetPropertyValue() public méthode

public GetPropertyValue ( object obj, string propertyName, EntityMode entityMode ) : object
obj object
propertyName string
entityMode EntityMode
Résultat object

GetPropertyValues() public méthode

public GetPropertyValues ( object obj, EntityMode entityMode ) : object[]
obj object
entityMode EntityMode
Résultat object[]

GetPropertyValuesToInsert() public méthode

public GetPropertyValuesToInsert ( object obj, IDictionary mergeMap, ISessionImplementor session ) : object[]
obj object
mergeMap IDictionary
session ISessionImplementor
Résultat object[]

GetRefIdColumnOfTable() protected méthode

protected GetRefIdColumnOfTable ( int table ) : int?
table int
Résultat int?

GetRootTableAlias() public méthode

public GetRootTableAlias ( string drivingAlias ) : string
drivingAlias string
Résultat string

GetSQLWhereString() protected méthode

protected GetSQLWhereString ( string alias ) : string
alias string
Résultat string

GetSelectByUniqueKeyString() public méthode

public GetSelectByUniqueKeyString ( string propertyName ) : NHibernate.SqlCommand.SqlString
propertyName string
Résultat NHibernate.SqlCommand.SqlString

GetSequentialSelect() protected méthode

protected GetSequentialSelect ( string entityName ) : NHibernate.SqlCommand.SqlString
entityName string
Résultat NHibernate.SqlCommand.SqlString

GetSubclassEntityPersister() public méthode

public GetSubclassEntityPersister ( object instance, ISessionFactoryImplementor factory, EntityMode entityMode ) : IEntityPersister
instance object
factory ISessionFactoryImplementor
entityMode EntityMode
Résultat IEntityPersister

GetSubclassForDiscriminatorValue() public abstract méthode

public abstract GetSubclassForDiscriminatorValue ( object value ) : string
value object
Résultat string

GetSubclassPropertyColumnAliases() public méthode

public GetSubclassPropertyColumnAliases ( string propertyName, string suffix ) : string[]
propertyName string
suffix string
Résultat string[]

GetSubclassPropertyColumnNames() public méthode

public GetSubclassPropertyColumnNames ( int i ) : string[]
i int
Résultat string[]

GetSubclassPropertyColumnNames() public méthode

public GetSubclassPropertyColumnNames ( string propertyName ) : string[]
propertyName string
Résultat string[]

GetSubclassPropertyDeclarer() public méthode

public GetSubclassPropertyDeclarer ( string propertyPath ) : Declarer
propertyPath string
Résultat Declarer

GetSubclassPropertyName() public méthode

public GetSubclassPropertyName ( int i ) : string
i int
Résultat string

GetSubclassPropertyTableName() public abstract méthode

public abstract GetSubclassPropertyTableName ( int i ) : string
i int
Résultat string

GetSubclassPropertyTableNumber() protected abstract méthode

protected abstract GetSubclassPropertyTableNumber ( int i ) : int
i int
Résultat int

GetSubclassPropertyTableNumber() public méthode

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
Résultat int

GetSubclassPropertyType() public méthode

public GetSubclassPropertyType ( int i ) : IType
i int
Résultat IType

GetSubclassTableKeyColumns() protected abstract méthode

protected abstract GetSubclassTableKeyColumns ( int j ) : string[]
j int
Résultat string[]

GetSubclassTableName() public abstract méthode

public abstract GetSubclassTableName ( int j ) : string
j int
Résultat string

GetTableName() protected abstract méthode

protected abstract GetTableName ( int table ) : string
table int
Résultat string

GetTableUpdateNeeded() protected méthode

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.
Résultat bool[]

GetTuplizer() protected méthode

protected GetTuplizer ( EntityMode entityMode ) : IEntityTuplizer
entityMode EntityMode
Résultat IEntityTuplizer

GetTuplizer() protected méthode

protected GetTuplizer ( ISessionImplementor session ) : IEntityTuplizer
session ISessionImplementor
Résultat IEntityTuplizer

GetVersion() public méthode

public GetVersion ( object obj, EntityMode entityMode ) : object
obj object
entityMode EntityMode
Résultat object

GuessEntityMode() public méthode

public GuessEntityMode ( object obj ) : EntityMode?
obj object
Résultat EntityMode?

HasUninitializedLazyProperties() public méthode

public HasUninitializedLazyProperties ( object obj, EntityMode entityMode ) : bool
obj object
entityMode EntityMode
Résultat bool

Hydrate() public méthode

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
Résultat object[]

IdentifierSelectFragment() public méthode

public IdentifierSelectFragment ( string name, string suffix ) : string
name string
suffix string
Résultat string

ImplementsLifecycle() public méthode

public ImplementsLifecycle ( EntityMode entityMode ) : bool
entityMode EntityMode
Résultat bool

ImplementsValidatable() public méthode

public ImplementsValidatable ( EntityMode entityMode ) : bool
entityMode EntityMode
Résultat bool

InitLockers() protected méthode

protected InitLockers ( ) : void
Résultat void

InitSubclassPropertyAliasesMap() protected méthode

Must be called by subclasses, at the end of their constructors
protected InitSubclassPropertyAliasesMap ( NHibernate.Mapping.PersistentClass model ) : void
model NHibernate.Mapping.PersistentClass
Résultat void

InitializeLazyProperty() public méthode

public InitializeLazyProperty ( string fieldName, object entity, ISessionImplementor session ) : object
fieldName string
entity object
session ISessionImplementor
Résultat object

Insert() protected méthode

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
Résultat object

Insert() public méthode

public Insert ( object fields, object obj, ISessionImplementor session ) : object
fields object
obj object
session ISessionImplementor
Résultat object

Insert() protected méthode

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
Résultat void

Insert() public méthode

public Insert ( object id, object fields, object obj, ISessionImplementor session ) : void
id object
fields object
obj object
session ISessionImplementor
Résultat void

Instantiate() public méthode

public Instantiate ( object id, EntityMode entityMode ) : object
id object
entityMode EntityMode
Résultat object

IsClassOrSuperclassTable() protected abstract méthode

protected abstract IsClassOrSuperclassTable ( int j ) : bool
j int
Résultat bool

IsDefinedOnSubclass() public méthode

public IsDefinedOnSubclass ( int i ) : bool
i int
Résultat bool

IsDeleteCallable() protected méthode

protected IsDeleteCallable ( int j ) : bool
j int
Résultat bool

IsIdOfTable() protected méthode

protected IsIdOfTable ( int property, int table ) : bool
property int
table int
Résultat bool

IsInsertCallable() protected méthode

protected IsInsertCallable ( int j ) : bool
j int
Résultat bool

IsInstance() public méthode

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.
Résultat bool

IsInstrumented() public méthode

public IsInstrumented ( EntityMode entityMode ) : bool
entityMode EntityMode
Résultat bool

IsInverseSubclassTable() protected méthode

protected IsInverseSubclassTable ( int j ) : bool
j int
Résultat bool

IsInverseTable() protected méthode

protected IsInverseTable ( int j ) : bool
j int
Résultat bool

IsModifiableEntity() public méthode

public IsModifiableEntity ( EntityEntry entry ) : bool
entry EntityEntry
Résultat bool

IsNullableSubclassTable() protected méthode

protected IsNullableSubclassTable ( int j ) : bool
j int
Résultat bool

IsNullableTable() protected méthode

protected IsNullableTable ( int j ) : bool
j int
Résultat bool

IsPropertyOfTable() protected abstract méthode

protected abstract IsPropertyOfTable ( int property, int table ) : bool
property int
table int
Résultat bool

IsSubclassEntityName() public méthode

public IsSubclassEntityName ( string entityName ) : bool
entityName string
Résultat bool

IsSubclassPropertyDeferred() protected méthode

protected IsSubclassPropertyDeferred ( string propertyName, string entityName ) : bool
propertyName string
entityName string
Résultat bool

IsSubclassPropertyNullable() public méthode

public IsSubclassPropertyNullable ( int i ) : bool
i int
Résultat bool

IsSubclassTableLazy() protected méthode

protected IsSubclassTableLazy ( int j ) : bool
j int
Résultat bool

IsSubclassTableSequentialSelect() protected méthode

protected IsSubclassTableSequentialSelect ( int table ) : bool
table int
Résultat bool

IsTableCascadeDeleteEnabled() protected abstract méthode

protected abstract IsTableCascadeDeleteEnabled ( int j ) : bool
j int
Résultat bool

IsTransient() public méthode

public IsTransient ( object entity, ISessionImplementor session ) : bool?
entity object
session ISessionImplementor
Résultat bool?

IsUnsavedVersion() public méthode

public IsUnsavedVersion ( object version ) : bool?
version object
Résultat bool?

IsUpdateCallable() protected méthode

protected IsUpdateCallable ( int j ) : bool
j int
Résultat bool

Load() public méthode

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
Résultat object

LoadByUniqueKey() public méthode

public LoadByUniqueKey ( string propertyName, object uniqueKey, ISessionImplementor session ) : object
propertyName string
uniqueKey object
session ISessionImplementor
Résultat object

Lock() public méthode

public Lock ( object id, object version, object obj, LockMode lockMode, ISessionImplementor session ) : void
id object
version object
obj object
lockMode LockMode
session ISessionImplementor
Résultat void

LogStaticSQL() protected méthode

protected LogStaticSQL ( ) : void
Résultat void

OneToManyFilterFragment() public méthode

public OneToManyFilterFragment ( string alias ) : string
alias string
Résultat string

PostConstruct() protected méthode

protected PostConstruct ( IMapping mapping ) : void
mapping IMapping
Résultat void

PostInstantiate() public méthode

public PostInstantiate ( ) : void
Résultat void

ProcessInsertGeneratedProperties() public méthode

public ProcessInsertGeneratedProperties ( object id, object entity, object state, ISessionImplementor session ) : void
id object
entity object
state object
session ISessionImplementor
Résultat void

ProcessUpdateGeneratedProperties() public méthode

public ProcessUpdateGeneratedProperties ( object id, object entity, object state, ISessionImplementor session ) : void
id object
entity object
state object
session ISessionImplementor
Résultat void

PropertySelectFragment() public méthode

public PropertySelectFragment ( string name, string suffix, bool allProperties ) : string
name string
suffix string
allProperties bool
Résultat string

RenderSelect() protected méthode

protected RenderSelect ( int tableNumbers, int columnNumbers, int formulaNumbers ) : SqlString
tableNumbers int
columnNumbers int
formulaNumbers int
Résultat SqlString

ResetIdentifier() public méthode

public ResetIdentifier ( object entity, object currentId, object currentVersion, EntityMode entityMode ) : void
entity object
currentId object
currentVersion object
entityMode EntityMode
Résultat void

SelectFragment() public méthode

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
Résultat string

SelectFragment() public méthode

public SelectFragment ( string alias, string suffix ) : string
alias string
suffix string
Résultat string

SetIdentifier() public méthode

public SetIdentifier ( object obj, object id, EntityMode entityMode ) : void
obj object
id object
entityMode EntityMode
Résultat void

SetPropertyValue() public méthode

public SetPropertyValue ( object obj, int i, object value, EntityMode entityMode ) : void
obj object
i int
value object
entityMode EntityMode
Résultat void

SetPropertyValue() public méthode

public SetPropertyValue ( object obj, string propertyName, object value, EntityMode entityMode ) : void
obj object
propertyName string
value object
entityMode EntityMode
Résultat void

SetPropertyValues() public méthode

public SetPropertyValues ( object obj, object values, EntityMode entityMode ) : void
obj object
values object
entityMode EntityMode
Résultat void

ToColumns() public méthode

public ToColumns ( string propertyName ) : string[]
propertyName string
Résultat string[]

ToColumns() public méthode

public ToColumns ( string name, int i ) : string[]
name string
i int
Résultat string[]

ToColumns() public méthode

public ToColumns ( string alias, string propertyName ) : string[]
alias string
propertyName string
Résultat string[]

ToIdentifierColumns() public méthode

public ToIdentifierColumns ( string name ) : string[]
name string
Résultat string[]

ToString() public méthode

public ToString ( ) : string
Résultat string

ToType() public méthode

public ToType ( string propertyName ) : IType
propertyName string
Résultat IType

TryToType() public méthode

public TryToType ( string propertyName, IType &type ) : bool
propertyName string
type IType
Résultat bool

Update() protected méthode

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
Résultat bool

Update() public méthode

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
Résultat void

UpdateOrInsert() protected méthode

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
Résultat void

UseGetGeneratedKeys() protected méthode

protected UseGetGeneratedKeys ( ) : bool
Résultat bool

UseInsertSelectIdentity() protected méthode

protected UseInsertSelectIdentity ( ) : bool
Résultat bool

WhereJoinFragment() public méthode

public WhereJoinFragment ( string alias, bool innerJoin, bool includeSubclasses ) : SqlString
alias string
innerJoin bool
includeSubclasses bool
Résultat SqlString

Property Details

customSQLDelete protected_oe property

protected SqlString[] customSQLDelete
Résultat SqlString[]

customSQLInsert protected_oe property

protected SqlString[] customSQLInsert
Résultat SqlString[]

customSQLUpdate protected_oe property

protected SqlString[] customSQLUpdate
Résultat SqlString[]

deleteCallable protected_oe property

protected bool[] deleteCallable
Résultat bool[]

deleteResultCheckStyles protected_oe property

protected ExecuteUpdateResultCheckStyle[] deleteResultCheckStyles
Résultat ExecuteUpdateResultCheckStyle[]

insertCallable protected_oe property

protected bool[] insertCallable
Résultat bool[]

insertResultCheckStyles protected_oe property

protected ExecuteUpdateResultCheckStyle[] insertResultCheckStyles
Résultat ExecuteUpdateResultCheckStyle[]

propertyDefinedOnSubclass protected_oe property

protected bool[] propertyDefinedOnSubclass
Résultat bool[]

propertyMapping protected_oe property

protected BasicEntityPropertyMapping propertyMapping
Résultat BasicEntityPropertyMapping

rowIdName protected_oe property

protected string rowIdName
Résultat string

updateCallable protected_oe property

protected bool[] updateCallable
Résultat bool[]

updateResultCheckStyles protected_oe property

protected ExecuteUpdateResultCheckStyle[] updateResultCheckStyles
Résultat ExecuteUpdateResultCheckStyle[]