Property | 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[] |
Method | 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 |
||
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 ) : |
||
GetConcreteProxyClass ( EntityMode entityMode ) : |
||
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 ) : |
||
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 |
Method | 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 |
||
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 |
Method | 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 |
||
GenerateGeneratedValuesSelectString ( ValueInclusion inclusions ) : NHibernate.SqlCommand.SqlString | ||
GenerateVersionIncrementUpdateString ( ) : NHibernate.SqlCommand.SqlCommandInfo | ||
GetAppropriateLoader ( LockMode lockMode, ISessionImplementor session ) : IUniqueEntityLoader | ||
GetAppropriateUniqueKeyLoader ( string propertyName, IFilter>.IDictionary |
||
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 |
||
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 |
protected AbstractEntityPersister ( NHibernate.Mapping.PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory ) : System | ||
persistentClass | NHibernate.Mapping.PersistentClass | |
cache | ICacheConcurrencyStrategy | |
factory | ISessionFactoryImplementor | |
return | System |
protected AddDiscriminatorToInsert ( NHibernate.SqlCommand.SqlInsertBuilder insert ) : void | ||
insert | NHibernate.SqlCommand.SqlInsertBuilder | |
return | void |
protected AddDiscriminatorToSelect ( NHibernate.SqlCommand.SelectFragment select, string name, string suffix ) : void | ||
select | NHibernate.SqlCommand.SelectFragment | |
name | string | |
suffix | string | |
return | void |
public AfterInitialize ( object entity, bool lazyPropertiesAreUnfetched, ISessionImplementor session ) : void | ||
entity | object | |
lazyPropertiesAreUnfetched | bool | |
session | ISessionImplementor | |
return | void |
public AfterReassociate ( object entity, ISessionImplementor session ) : void | ||
entity | object | |
session | ISessionImplementor | |
return | void |
protected Check ( int rows, object id, int tableNumber, IExpectation expectation, IDbCommand statement ) : bool | ||
rows | int | |
id | object | |
tableNumber | int | |
expectation | IExpectation | |
statement | IDbCommand | |
return | bool |
protected ConcretePropertySelectFragment ( string alias, IInclusionChecker inclusionChecker ) : string | ||
alias | string | |
inclusionChecker | IInclusionChecker | |
return | string |
protected ConcretePropertySelectFragment ( string alias, ValueInclusion inclusions ) : string | ||
alias | string | |
inclusions | ValueInclusion | |
return | string |
protected ConcretePropertySelectFragment ( string alias, bool includeProperty ) : string | ||
alias | string | |
includeProperty | bool | |
return | string |
protected ConcretePropertySelectFragmentSansLeadingComma ( string alias, bool include ) : string | ||
alias | string | |
include | bool | |
return | string |
protected CreateEntityLoader ( LockMode lockMode ) : IUniqueEntityLoader | ||
lockMode | LockMode | |
return | IUniqueEntityLoader |
protected CreateEntityLoader ( LockMode lockMode, IFilter>.IDictionary |
||
lockMode | LockMode | |
enabledFilters | IFilter>.IDictionary | |
return | IUniqueEntityLoader |
protected CreateFrom ( int tableNumber, String alias ) : string | ||
tableNumber | int | |
alias | String | |
return | string |
public CreateProxy ( object id, ISessionImplementor session ) : object | ||
id | object | |
session | ISessionImplementor | |
return | object |
protected CreateSelect ( int subclassColumnNumbers, int subclassFormulaNumbers ) : NHibernate.SqlCommand.SelectFragment | ||
subclassColumnNumbers | int | |
subclassFormulaNumbers | int | |
return | NHibernate.SqlCommand.SelectFragment |
protected CreateWhereByKey ( int tableNumber, string alias ) : NHibernate.SqlCommand.SqlString | ||
tableNumber | int | |
alias | string | |
return | NHibernate.SqlCommand.SqlString |
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 | |
return | int |
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 | |
return | int |
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 | |
return | void |
public Delete ( object id, object version, object obj, ISessionImplementor session ) : void | ||
id | object | |
version | object | |
obj | object | |
session | ISessionImplementor | |
return | void |
public abstract FilterFragment ( string alias ) : string | ||
alias | string | |
return | string |
public FilterFragment ( string alias, IFilter>.IDictionary |
||
alias | string | |
enabledFilters | IFilter>.IDictionary | |
return | string |
public FindDirty ( object currentState, object previousState, object entity, ISessionImplementor session ) : int[] | ||
currentState | object | |
previousState | object | |
entity | object | |
session | ISessionImplementor | |
return | int[] |
public FindModified ( object old, object current, object entity, ISessionImplementor session ) : int[] | ||
old | object | |
current | object | |
entity | object | |
session | ISessionImplementor | |
return | int[] |
public ForceVersionIncrement ( object id, object currentVersion, ISessionImplementor session ) : object | ||
id | object | |
currentVersion | object | |
session | ISessionImplementor | |
return | object |
public FromJoinFragment ( string alias, bool innerJoin, bool includeSubclasses ) : NHibernate.SqlCommand.SqlString | ||
alias | string | |
innerJoin | bool | |
includeSubclasses | bool | |
return | NHibernate.SqlCommand.SqlString |
public abstract FromTableFragment ( string alias ) : string | ||
alias | string | |
return | string |
protected GenerateDeleteString ( int j ) : NHibernate.SqlCommand.SqlCommandInfo | ||
j | int | |
return | NHibernate.SqlCommand.SqlCommandInfo |
public GenerateFilterConditionAlias ( string rootAlias ) : string | ||
rootAlias | string | |
return | string |
protected GenerateIdentityInsertString ( bool includeProperty ) : NHibernate.SqlCommand.SqlCommandInfo | ||
includeProperty | bool | |
return | NHibernate.SqlCommand.SqlCommandInfo |
protected GenerateInsertGeneratedValuesSelectString ( ) : NHibernate.SqlCommand.SqlString | ||
return | NHibernate.SqlCommand.SqlString |
protected GenerateInsertString ( bool identityInsert, bool includeProperty ) : NHibernate.SqlCommand.SqlCommandInfo | ||
identityInsert | bool | |
includeProperty | bool | |
return | NHibernate.SqlCommand.SqlCommandInfo |
protected GenerateInsertString ( bool identityInsert, bool includeProperty, int j ) : NHibernate.SqlCommand.SqlCommandInfo | ||
identityInsert | bool | |
includeProperty | bool | |
j | int | |
return | NHibernate.SqlCommand.SqlCommandInfo |
protected GenerateInsertString ( bool includeProperty, int j ) : NHibernate.SqlCommand.SqlCommandInfo | ||
includeProperty | bool | |
j | int | |
return | NHibernate.SqlCommand.SqlCommandInfo |
protected GenerateLazySelectString ( ) : NHibernate.SqlCommand.SqlString | ||
return | NHibernate.SqlCommand.SqlString |
protected GenerateLocker ( LockMode lockMode ) : ILockingStrategy | ||
lockMode | LockMode | |
return | ILockingStrategy |
protected GenerateSQLDeleteStrings ( object loadedState ) : NHibernate.SqlCommand.SqlCommandInfo[] | ||
loadedState | object | |
return | NHibernate.SqlCommand.SqlCommandInfo[] |
protected GenerateSelectVersionString ( ) : NHibernate.SqlCommand.SqlString | ||
return | NHibernate.SqlCommand.SqlString |
protected GenerateSnapshotSelectString ( ) : NHibernate.SqlCommand.SqlString | ||
return | NHibernate.SqlCommand.SqlString |
public GenerateTableAlias ( string rootAlias, int tableNumber ) : string | ||
rootAlias | string | |
tableNumber | int | |
return | string |
public GenerateTableAliasForColumn ( string rootAlias, string column ) : string | ||
rootAlias | string | |
column | string | |
return | string |
protected GenerateUpdateGeneratedValuesSelectString ( ) : NHibernate.SqlCommand.SqlString | ||
return | NHibernate.SqlCommand.SqlString |
protected GenerateUpdateString ( bool includeProperty, int j, bool useRowId ) : NHibernate.SqlCommand.SqlCommandInfo | ||
includeProperty | bool | |
j | int | |
useRowId | bool | |
return | NHibernate.SqlCommand.SqlCommandInfo |
protected GenerateUpdateString ( bool includeProperty, int j, object oldFields, bool useRowId ) : NHibernate.SqlCommand.SqlCommandInfo | ||
includeProperty | bool | |
j | int | |
oldFields | object | |
useRowId | bool | |
return | NHibernate.SqlCommand.SqlCommandInfo |
public GetCascadeStyle ( int i ) : |
||
i | int | |
return |
public GetConcreteProxyClass ( EntityMode entityMode ) : |
||
entityMode | EntityMode | |
return |
public GetCurrentVersion ( object id, ISessionImplementor session ) : object | ||
id | object | |
session | ISessionImplementor | |
return | object |
public GetDatabaseSnapshot ( object id, ISessionImplementor session ) : object[] | ||
id | object | |
session | ISessionImplementor | |
return | object[] |
public GetDiscriminatorAlias ( string suffix ) : string | ||
suffix | string | |
return | string |
protected GetIdentiferProperty ( int table ) : Tuple.NHibernate.Mapping.Property | ||
table | int | |
return | Tuple.NHibernate.Mapping.Property |
public GetIdentifier ( object obj, EntityMode entityMode ) : object | ||
obj | object | |
entityMode | EntityMode | |
return | object |
public GetIdentifierAliases ( string suffix ) : string[] | ||
suffix | string | |
return | string[] |
protected GetJoinIdKeyColumns ( int j ) : string[] | ||
j | int | |
return | string[] |
protected GetJoinTableId ( int j, object fields ) : object | ||
j | int | |
fields | object | |
return | object |
protected GetJoinTableId ( int table, object obj, EntityMode entityMode ) : object | ||
table | int | |
obj | object | |
entityMode | EntityMode | |
return | object |
protected abstract GetKeyColumns ( int table ) : string[] | ||
table | int | |
return | string[] |
public GetMappedClass ( EntityMode entityMode ) : |
||
entityMode | EntityMode | |
return |
public GetNaturalIdentifierSnapshot ( object id, ISessionImplementor session ) : object[] | ||
id | object | |
session | ISessionImplementor | |
return | object[] |
protected GetPropertiesToInsert ( object fields ) : bool[] | ||
fields | object | |
return | bool[] |
protected GetPropertiesToUpdate ( int dirtyProperties, bool hasDirtyCollection ) : bool[] | ||
dirtyProperties | int | |
hasDirtyCollection | bool | |
return | bool[] |
public GetPropertyAliases ( string suffix, int i ) : string[] | ||
suffix | string | |
i | int | |
return | string[] |
public GetPropertyColumnNames ( int i ) : string[] | ||
i | int | |
return | string[] |
public GetPropertyColumnNames ( string propertyName ) : string[] | ||
propertyName | string | |
return | string[] |
protected GetPropertyColumnSpan ( int i ) : int | ||
i | int | |
return | int |
public GetPropertyIndex ( string propertyName ) : int | ||
propertyName | string | |
return | int |
public abstract GetPropertyTableName ( string propertyName ) : string | ||
propertyName | string | |
return | string |
public GetPropertyType ( string path ) : IType | ||
path | string | |
return | IType |
protected GetPropertyUpdateability ( object entity, EntityMode entityMode ) : bool[] | ||
entity | object | |
entityMode | EntityMode | |
return | bool[] |
public GetPropertyValue ( object obj, int i, EntityMode entityMode ) : object | ||
obj | object | |
i | int | |
entityMode | EntityMode | |
return | object |
public GetPropertyValue ( object obj, string propertyName, EntityMode entityMode ) : object | ||
obj | object | |
propertyName | string | |
entityMode | EntityMode | |
return | object |
public GetPropertyValues ( object obj, EntityMode entityMode ) : object[] | ||
obj | object | |
entityMode | EntityMode | |
return | object[] |
public GetPropertyValuesToInsert ( object obj, IDictionary mergeMap, ISessionImplementor session ) : object[] | ||
obj | object | |
mergeMap | IDictionary | |
session | ISessionImplementor | |
return | object[] |
protected GetRefIdColumnOfTable ( int table ) : int? | ||
table | int | |
return | int? |
public GetRootTableAlias ( string drivingAlias ) : string | ||
drivingAlias | string | |
return | string |
protected GetSQLWhereString ( string alias ) : string | ||
alias | string | |
return | string |
public GetSelectByUniqueKeyString ( string propertyName ) : NHibernate.SqlCommand.SqlString | ||
propertyName | string | |
return | NHibernate.SqlCommand.SqlString |
protected GetSequentialSelect ( string entityName ) : NHibernate.SqlCommand.SqlString | ||
entityName | string | |
return | NHibernate.SqlCommand.SqlString |
public GetSubclassEntityPersister ( object instance, ISessionFactoryImplementor factory, EntityMode entityMode ) : IEntityPersister | ||
instance | object | |
factory | ISessionFactoryImplementor | |
entityMode | EntityMode | |
return | IEntityPersister |
public abstract GetSubclassForDiscriminatorValue ( object value ) : string | ||
value | object | |
return | string |
public GetSubclassPropertyColumnAliases ( string propertyName, string suffix ) : string[] | ||
propertyName | string | |
suffix | string | |
return | string[] |
public GetSubclassPropertyColumnNames ( int i ) : string[] | ||
i | int | |
return | string[] |
public GetSubclassPropertyColumnNames ( string propertyName ) : string[] | ||
propertyName | string | |
return | string[] |
public GetSubclassPropertyDeclarer ( string propertyPath ) : Declarer | ||
propertyPath | string | |
return | Declarer |
public GetSubclassPropertyName ( int i ) : string | ||
i | int | |
return | string |
public abstract GetSubclassPropertyTableName ( int i ) : string | ||
i | int | |
return | string |
protected abstract GetSubclassPropertyTableNumber ( int i ) : int | ||
i | int | |
return | int |
public GetSubclassPropertyTableNumber ( string propertyPath ) : int | ||
propertyPath | string | |
return | int |
public GetSubclassPropertyType ( int i ) : IType | ||
i | int | |
return | IType |
protected abstract GetSubclassTableKeyColumns ( int j ) : string[] | ||
j | int | |
return | string[] |
public abstract GetSubclassTableName ( int j ) : string | ||
j | int | |
return | string |
protected abstract GetTableName ( int table ) : string | ||
table | int | |
return | string |
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. |
return | bool[] |
protected GetTuplizer ( EntityMode entityMode ) : IEntityTuplizer | ||
entityMode | EntityMode | |
return | IEntityTuplizer |
protected GetTuplizer ( ISessionImplementor session ) : IEntityTuplizer | ||
session | ISessionImplementor | |
return | IEntityTuplizer |
public GetVersion ( object obj, EntityMode entityMode ) : object | ||
obj | object | |
entityMode | EntityMode | |
return | object |
public GuessEntityMode ( object obj ) : EntityMode? | ||
obj | object | |
return | EntityMode? |
public HasUninitializedLazyProperties ( object obj, EntityMode entityMode ) : bool | ||
obj | object | |
entityMode | EntityMode | |
return | bool |
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 | |
return | object[] |
public IdentifierSelectFragment ( string name, string suffix ) : string | ||
name | string | |
suffix | string | |
return | string |
public ImplementsLifecycle ( EntityMode entityMode ) : bool | ||
entityMode | EntityMode | |
return | bool |
public ImplementsValidatable ( EntityMode entityMode ) : bool | ||
entityMode | EntityMode | |
return | bool |
protected InitSubclassPropertyAliasesMap ( NHibernate.Mapping.PersistentClass model ) : void | ||
model | NHibernate.Mapping.PersistentClass | |
return | void |
public InitializeLazyProperty ( string fieldName, object entity, ISessionImplementor session ) : object | ||
fieldName | string | |
entity | object | |
session | ISessionImplementor | |
return | object |
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 | |
return | object |
public Insert ( object fields, object obj, ISessionImplementor session ) : object | ||
fields | object | |
obj | object | |
session | ISessionImplementor | |
return | object |
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 | |
return | void |
public Insert ( object id, object fields, object obj, ISessionImplementor session ) : void | ||
id | object | |
fields | object | |
obj | object | |
session | ISessionImplementor | |
return | void |
public Instantiate ( object id, EntityMode entityMode ) : object | ||
id | object | |
entityMode | EntityMode | |
return | object |
protected abstract IsClassOrSuperclassTable ( int j ) : bool | ||
j | int | |
return | bool |
protected IsIdOfTable ( int property, int table ) : bool | ||
property | int | |
table | int | |
return | bool |
public IsInstance ( object entity, EntityMode entityMode ) : bool | ||
entity | object | The entity. |
entityMode | EntityMode | The entity mode. |
return | bool |
public IsInstrumented ( EntityMode entityMode ) : bool | ||
entityMode | EntityMode | |
return | bool |
protected IsInverseSubclassTable ( int j ) : bool | ||
j | int | |
return | bool |
public IsModifiableEntity ( EntityEntry entry ) : bool | ||
entry | EntityEntry | |
return | bool |
protected IsNullableSubclassTable ( int j ) : bool | ||
j | int | |
return | bool |
protected abstract IsPropertyOfTable ( int property, int table ) : bool | ||
property | int | |
table | int | |
return | bool |
public IsSubclassEntityName ( string entityName ) : bool | ||
entityName | string | |
return | bool |
protected IsSubclassPropertyDeferred ( string propertyName, string entityName ) : bool | ||
propertyName | string | |
entityName | string | |
return | bool |
public IsSubclassPropertyNullable ( int i ) : bool | ||
i | int | |
return | bool |
protected IsSubclassTableLazy ( int j ) : bool | ||
j | int | |
return | bool |
protected IsSubclassTableSequentialSelect ( int table ) : bool | ||
table | int | |
return | bool |
protected abstract IsTableCascadeDeleteEnabled ( int j ) : bool | ||
j | int | |
return | bool |
public IsTransient ( object entity, ISessionImplementor session ) : bool? | ||
entity | object | |
session | ISessionImplementor | |
return | bool? |
public IsUnsavedVersion ( object version ) : bool? | ||
version | object | |
return | bool? |
public Load ( object id, object optionalObject, LockMode lockMode, ISessionImplementor session ) : object | ||
id | object | |
optionalObject | object | |
lockMode | LockMode | |
session | ISessionImplementor | |
return | object |
public LoadByUniqueKey ( string propertyName, object uniqueKey, ISessionImplementor session ) : object | ||
propertyName | string | |
uniqueKey | object | |
session | ISessionImplementor | |
return | object |
public Lock ( object id, object version, object obj, LockMode lockMode, ISessionImplementor session ) : void | ||
id | object | |
version | object | |
obj | object | |
lockMode | LockMode | |
session | ISessionImplementor | |
return | void |
public OneToManyFilterFragment ( string alias ) : string | ||
alias | string | |
return | string |
protected PostConstruct ( IMapping mapping ) : void | ||
mapping | IMapping | |
return | void |
public ProcessInsertGeneratedProperties ( object id, object entity, object state, ISessionImplementor session ) : void | ||
id | object | |
entity | object | |
state | object | |
session | ISessionImplementor | |
return | void |
public ProcessUpdateGeneratedProperties ( object id, object entity, object state, ISessionImplementor session ) : void | ||
id | object | |
entity | object | |
state | object | |
session | ISessionImplementor | |
return | void |
public PropertySelectFragment ( string name, string suffix, bool allProperties ) : string | ||
name | string | |
suffix | string | |
allProperties | bool | |
return | string |
protected RenderSelect ( int tableNumbers, int columnNumbers, int formulaNumbers ) : SqlString | ||
tableNumbers | int | |
columnNumbers | int | |
formulaNumbers | int | |
return | SqlString |
public ResetIdentifier ( object entity, object currentId, object currentVersion, EntityMode entityMode ) : void | ||
entity | object | |
currentId | object | |
currentVersion | object | |
entityMode | EntityMode | |
return | void |
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 | |
return | string |
public SelectFragment ( string alias, string suffix ) : string | ||
alias | string | |
suffix | string | |
return | string |
public SetIdentifier ( object obj, object id, EntityMode entityMode ) : void | ||
obj | object | |
id | object | |
entityMode | EntityMode | |
return | void |
public SetPropertyValue ( object obj, int i, object value, EntityMode entityMode ) : void | ||
obj | object | |
i | int | |
value | object | |
entityMode | EntityMode | |
return | void |
public SetPropertyValue ( object obj, string propertyName, object value, EntityMode entityMode ) : void | ||
obj | object | |
propertyName | string | |
value | object | |
entityMode | EntityMode | |
return | void |
public SetPropertyValues ( object obj, object values, EntityMode entityMode ) : void | ||
obj | object | |
values | object | |
entityMode | EntityMode | |
return | void |
public ToColumns ( string propertyName ) : string[] | ||
propertyName | string | |
return | string[] |
public ToColumns ( string name, int i ) : string[] | ||
name | string | |
i | int | |
return | string[] |
public ToColumns ( string alias, string propertyName ) : string[] | ||
alias | string | |
propertyName | string | |
return | string[] |
public ToIdentifierColumns ( string name ) : string[] | ||
name | string | |
return | string[] |
public ToType ( string propertyName ) : IType | ||
propertyName | string | |
return | IType |
public TryToType ( string propertyName, IType &type ) : bool | ||
propertyName | string | |
type | IType | |
return | bool |
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 | |
return | bool |
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 | |
return | void |
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 | |
return | void |
public WhereJoinFragment ( string alias, bool innerJoin, bool includeSubclasses ) : SqlString | ||
alias | string | |
innerJoin | bool | |
includeSubclasses | bool | |
return | SqlString |
protected ExecuteUpdateResultCheckStyle[] deleteResultCheckStyles | ||
return | ExecuteUpdateResultCheckStyle[] |
protected ExecuteUpdateResultCheckStyle[] insertResultCheckStyles | ||
return | ExecuteUpdateResultCheckStyle[] |
protected bool[] propertyDefinedOnSubclass | ||
return | bool[] |
protected BasicEntityPropertyMapping propertyMapping | ||
return | BasicEntityPropertyMapping |