Namespaces

Types

Type SingleTableEntityPersister

Namespace NHibernate.Persister.Entity

Parent AbstractEntityPersister

Methods

Properties

Public instance methods

bool ConsumesCollectionAlias()

Parameters
return bool

bool ConsumesEntityAlias()

Parameters
return bool

int CountSubclassProperties()

Parameters
return int

object CreateProxy(object id, ISessionImplementor session)

Parameters
return object
object id
ISessionImplementor session

void Delete(object id, object version, int j, object obj, SqlCommandInfo sql, ISessionImplementor session, Object[] loadedState)

Parameters
object id
object version
int j
object obj
SqlCommandInfo sql
ISessionImplementor session
Object[] loadedState

void Delete(object id, object version, object obj, ISessionImplementor session)

Parameters
object id
object version
object obj
ISessionImplementor session

bool Equals(object obj)

Parameters
return bool
object obj

string FilterFragment(string alias, IDictionary enabledFilters)

Parameters
return string
string alias
IDictionary enabledFilters

string FilterFragment(string alias)

Parameters
return string
string alias

Int32[] FindDirty(Object[] x, Object[] y, object obj, ISessionImplementor session)

Parameters
return Int32[]
Object[] x
Object[] y
object obj
ISessionImplementor session

Int32[] FindModified(Object[] old, Object[] current, object obj, ISessionImplementor session)

Parameters
return Int32[]
Object[] old
Object[] current
object obj
ISessionImplementor session

SqlString FromJoinFragment(string alias, bool innerJoin, bool includeSubclasses)

Parameters
return SqlString
string alias
bool innerJoin
bool includeSubclasses

string FromTableFragment(string alias)

Parameters
return string
string alias

string GenerateFilterConditionAlias(string rootAlias)

Parameters
return string
string rootAlias

CascadeStyle GetCascadeStyle(int i)

Parameters
return CascadeStyle
int i

String[] GetColumnNames(string propertyName)

Parameters
return String[]
string propertyName

object GetCurrentVersion(object id, ISessionImplementor session)

Parameters
return object
object id
ISessionImplementor session

Object[] GetDatabaseSnapshot(object id, object version, ISessionImplementor session)

Parameters
return Object[]
object id
object version
ISessionImplementor session

string GetDiscriminatorAlias(string suffix)

Parameters
return string
string suffix

FetchMode GetFetchMode(int i)

Parameters
return FetchMode
int i

int GetHashCode()

Parameters
return int

object GetIdentifier(object obj)

Parameters
return object
object obj

String[] GetIdentifierAliases(string suffix)

Parameters
return String[]
string suffix

String[] GetPropertyAliases(string suffix, int i)

Parameters
return String[]
string suffix
int i

String[] GetPropertyColumnNames(string propertyName)

Parameters
return String[]
string propertyName

String[] GetPropertyColumnNames(int i)

Parameters
return String[]
int i

int GetPropertyIndex(string propertyName)

Parameters
return int
string propertyName

string GetPropertyTableName(string propertyName)

Parameters
return string
string propertyName

IType GetPropertyType(string path)

Parameters
return IType
string path

object GetPropertyValue(object obj, string propertyName)

Parameters
return object
object obj
string propertyName

object GetPropertyValue(object obj, int i)

Parameters
return object
object obj
int i

Object[] GetPropertyValues(object obj)

Parameters
return Object[]
object obj

Type GetSubclassForDiscriminatorValue(object value)

Parameters
return Type
object value

String[] GetSubclassPropertyColumnAliases(string propertyName, string suffix)

Parameters
return String[]
string propertyName
string suffix

String[] GetSubclassPropertyColumnNames(int i)

Parameters
return String[]
int i

string GetSubclassPropertyName(int i)

Parameters
return string
int i

string GetSubclassPropertyTableName(int i)

Parameters
return string
int i

int GetSubclassPropertyTableNumber(string propertyPath)

Parameters
return int
string propertyPath

IType GetSubclassPropertyType(int i)

Parameters
return IType
int i

Type GetType()

Parameters
return Type

object GetVersion(object obj)

Parameters
return object
object obj

string IdentifierSelectFragment(string name, string suffix)

Parameters
return string
string name
string suffix

void Insert(object id, Object[] fields, object obj, ISessionImplementor session)

Parameters
object id
Object[] fields
object obj
ISessionImplementor session

object Insert(Object[] fields, object obj, ISessionImplementor session)

Parameters
return object
Object[] fields
object obj
ISessionImplementor session

object Instantiate(object id)

Parameters
return object
object id

bool IsDefinedOnSubclass(int i)

Parameters
return bool
int i

bool IsInstance(object entity)

Parameters
return bool
object entity

bool IsSubclassPropertyNullable(int i)

Parameters
return bool
int i

bool IsUnsaved(object obj)

Parameters
return bool
object obj

bool IsUnsavedVersion(Object[] values)

Parameters
return bool
Object[] values

object Load(object id, object optionalObject, LockMode lockMode, ISessionImplementor session)

Parameters
return object
object id
object optionalObject
LockMode lockMode
ISessionImplementor session

object LoadByUniqueKey(string propertyName, object uniqueKey, ISessionImplementor session)

Parameters
return object
string propertyName
object uniqueKey
ISessionImplementor session

void Lock(object id, object version, object obj, LockMode lockMode, ISessionImplementor session)

Parameters
object id
object version
object obj
LockMode lockMode
ISessionImplementor session

string OneToManyFilterFragment(string alias)

Parameters
return string
string alias

void PostInstantiate()

void ProcessInsertGeneratedProperties(object id, object entity, Object[] state, ISessionImplementor session)

Parameters
object id
object entity
Object[] state
ISessionImplementor session

void ProcessUpdateGeneratedProperties(object id, object entity, Object[] state, ISessionImplementor session)

Parameters
object id
object entity
Object[] state
ISessionImplementor session

string PropertySelectFragment(string name, string suffix)

Parameters
return string
string name
string suffix

SqlString QueryWhereFragment(string name, bool innerJoin, bool includeSubclasses)

Parameters
return SqlString
string name
bool innerJoin
bool includeSubclasses

string SelectFragment(IJoinable rhs, string rhsAlias, string lhsAlias, string entitySuffix, string collectionSuffix, bool includeCollectionColumns)

Parameters
return string
IJoinable rhs
string rhsAlias
string lhsAlias
string entitySuffix
string collectionSuffix
bool includeCollectionColumns

string SelectFragment(string alias, string suffix)

Parameters
return string
string alias
string suffix

string SelectFragment(string alias, string suffix, bool includeCollectionColumns)

Parameters
return string
string alias
string suffix
bool includeCollectionColumns

void SetIdentifier(object obj, object id)

Parameters
object obj
object id

void SetPropertyValue(object obj, string propertyName, object value)

Parameters
object obj
string propertyName
object value

void SetPropertyValue(object obj, int i, object value)

Parameters
object obj
int i
object value

void SetPropertyValues(object obj, Object[] values)

Parameters
object obj
Object[] values

string SqlIdentitySelect(string identityColumn, string tableName)

Parameters
return string
string identityColumn
string tableName

String[] ToColumns(string name, int i)

Parameters
return String[]
string name
int i

String[] ToColumns(string alias, string propertyName)

Parameters
return String[]
string alias
string propertyName

string ToString()

Parameters
return string

IType ToType(string propertyName)

Parameters
return IType
string propertyName

void Update(object id, Object[] fields, Int32[] dirtyFields, bool hasDirtyCollection, Object[] oldFields, object oldVersion, object obj, ISessionImplementor session)

Parameters
object id
Object[] fields
Int32[] dirtyFields
bool hasDirtyCollection
Object[] oldFields
object oldVersion
object obj
ISessionImplementor session

SqlString WhereJoinFragment(string alias, bool innerJoin, bool includeSubclasses)

Parameters
return SqlString
string alias
bool innerJoin
bool includeSubclasses

Public properties

ICacheConcurrencyStrategy Cache get;

return ICacheConcurrencyStrategy

IClassMetadata ClassMetadata get;

return IClassMetadata

string ClassName get;

return string

Type ConcreteProxyClass get;

return Type

string DiscriminatorColumnName get;

return string

string DiscriminatorSQLValue get;

return string

IType DiscriminatorType get;

return IType

object DiscriminatorValue get;

return object

EntityType EntityType get;

return EntityType

ISessionFactoryImplementor Factory get;

return ISessionFactoryImplementor

bool HasCache get;

return bool

bool HasCascades get;

return bool

bool HasCollections get;

return bool

bool HasIdentifierProperty get;

return bool

bool HasIdentifierPropertyOrEmbeddedCompositeIdentifier get;

return bool

bool HasInsertGeneratedProperties get;

return bool

bool HasProxy get;

return bool

bool HasSubclasses get;

return bool

bool HasSubselectLoadableCollections get;

return bool

bool HasUpdateGeneratedProperties get;

return bool

String[] IdentifierAliases get;

return String[]

String[] IdentifierColumnNames get;

return String[]

IIdentifierGenerator IdentifierGenerator get;

return IIdentifierGenerator

string IdentifierPropertyName get;

return string

object IdentifierSpace get;

return object

IType IdentifierType get;

return IType

bool ImplementsLifecycle get;

return bool

bool ImplementsValidatable get;

return bool

bool IsBatchable get;

return bool

bool IsBatchLoadable get;

return bool

bool IsCacheInvalidationRequired get;

return bool

bool IsCollection get;

return bool

bool IsExplicitPolymorphism get;

return bool

bool IsIdentifierAssignedByInsert get;

return bool

bool IsInherited get;

return bool

bool IsManyToMany get;

return bool

bool IsMutable get;

return bool

bool IsPolymorphic get;

return bool

bool IsVersioned get;

return bool

bool IsVersionPropertyGenerated get;

return bool

String[] KeyColumnNames get;

return String[]

Type MappedClass get;

return Type

Type MappedSuperclass get;

return Type

string Name get;

return string

CascadeStyle[] PropertyCascadeStyles get;

return CascadeStyle[]

Boolean[] PropertyCheckability get;

return Boolean[]

Boolean[][] PropertyColumnInsertable get;

return Boolean[][]

Boolean[][] PropertyColumnUpdateable get;

return Boolean[][]

Boolean[] PropertyInsertability get;

return Boolean[]

ValueInclusion[] PropertyInsertGenerationInclusions get;

return ValueInclusion[]

String[] PropertyNames get;

return String[]

Boolean[] PropertyNullability get;

return Boolean[]

Object[] PropertySpaces get;

return Object[]

IType[] PropertyTypes get;

return IType[]

Boolean[] PropertyUpdateability get;

return Boolean[]

ValueInclusion[] PropertyUpdateGenerationInclusions get;

return ValueInclusion[]

Boolean[] PropertyVersionability get;

return Boolean[]

Object[] QuerySpaces get;

return Object[]

Type[] SubclassClosure get;

return Type[]

string TableName get;

return string

IType Type get;

return IType

string VersionColumnName get;

return string

int VersionProperty get;

return int

IVersionType VersionType get;

return IVersionType