C# Class NHibernate.Persister.Entity.SingleTableEntityPersister

Default implementation of the ClassPersister interface. Implements the "table-per-class hierarchy" mapping strategy for an entity class.
Inheritance: AbstractEntityPersister, IQueryable
Afficher le fichier Open project: nhibernate/nhibernate-core Class Usage Examples

Private Properties

Свойство Type Description
DiscriminatorFilterFragment string
GenerateSequentialSelect NHibernate.SqlCommand.SqlString
GetJoinTableId object

Méthodes publiques

Méthode Description
FilterFragment ( string alias ) : string
FromTableFragment ( string name ) : string
GetIdentifierType ( int j ) : IType
GetPropertyTableName ( string propertyName ) : string
GetSubclassForDiscriminatorValue ( object value ) : string
GetSubclassPropertyTableName ( int i ) : string
GetSubclassPropertyTableNumber ( string propertyName, string entityName ) : int
GetSubclassTableName ( int j ) : string
OneToManyFilterFragment ( string alias ) : string
PostInstantiate ( ) : void
SingleTableEntityPersister ( NHibernate.Mapping.PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, IMapping mapping ) : System

Méthodes protégées

Méthode Description
AddDiscriminatorToInsert ( NHibernate.SqlCommand.SqlInsertBuilder insert ) : void
AddDiscriminatorToSelect ( NHibernate.SqlCommand.SelectFragment select, string name, string suffix ) : void
GetJoinIdKeyColumns ( int j ) : string[]
GetJoinTableId ( int table, object fields ) : object
GetJoinTableId ( int table, object obj, EntityMode entityMode ) : object
GetKeyColumns ( int table ) : string[]
GetRefIdColumnOfTable ( int table ) : int?
GetSequentialSelect ( string entityName ) : NHibernate.SqlCommand.SqlString
GetSubclassPropertyTableNumber ( int i ) : int
GetSubclassTableKeyColumns ( int j ) : string[]
GetTableName ( int table ) : string
IsClassOrSuperclassTable ( int j ) : bool
IsIdOfTable ( int property, int table ) : 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

Private Methods

Méthode Description
DiscriminatorFilterFragment ( string alias ) : string
GenerateSequentialSelect ( ILoadable persister ) : NHibernate.SqlCommand.SqlString
GetJoinTableId ( int table, int index, object fields ) : object

Method Details

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

FilterFragment() public méthode

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

FromTableFragment() public méthode

public FromTableFragment ( string name ) : string
name string
Résultat string

GetIdentifierType() public méthode

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

GetJoinIdKeyColumns() protected méthode

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

GetJoinTableId() protected méthode

protected GetJoinTableId ( int table, object fields ) : object
table 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 méthode

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

GetPropertyTableName() public méthode

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

GetRefIdColumnOfTable() protected méthode

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

GetSequentialSelect() protected méthode

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

GetSubclassForDiscriminatorValue() public méthode

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

GetSubclassPropertyTableName() public méthode

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

GetSubclassPropertyTableNumber() protected méthode

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

GetSubclassPropertyTableNumber() public méthode

public GetSubclassPropertyTableNumber ( string propertyName, string entityName ) : int
propertyName string
entityName string
Résultat int

GetSubclassTableKeyColumns() protected méthode

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

GetSubclassTableName() public méthode

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

GetTableName() protected méthode

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

IsClassOrSuperclassTable() protected méthode

protected IsClassOrSuperclassTable ( 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

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

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 méthode

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

IsSubclassPropertyDeferred() protected méthode

protected IsSubclassPropertyDeferred ( string propertyName, string entityName ) : bool
propertyName string
entityName string
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 méthode

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

OneToManyFilterFragment() public méthode

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

PostInstantiate() public méthode

public PostInstantiate ( ) : void
Résultat void

SingleTableEntityPersister() public méthode

public SingleTableEntityPersister ( NHibernate.Mapping.PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, IMapping mapping ) : System
persistentClass NHibernate.Mapping.PersistentClass
cache ICacheConcurrencyStrategy
factory ISessionFactoryImplementor
mapping IMapping
Résultat System