C# Class NHibernate.Persister.Entity.JoinedSubclassEntityPersister

A IEntityPersister implementing the normalized "table-per-subclass" mapping strategy
Inheritance: AbstractEntityPersister
Afficher le fichier Open project: nhibernate/nhibernate-core

Méthodes publiques

Méthode Description
FilterFragment ( string alias ) : string
FromTableFragment ( string alias ) : string
GenerateFilterConditionAlias ( string rootAlias ) : string
GetPropertyTableName ( string propertyName ) : string
GetRootTableAlias ( string drivingAlias ) : string
GetSubclassForDiscriminatorValue ( object value ) : string
GetSubclassPropertyDeclarer ( string propertyPath ) : Declarer
GetSubclassPropertyTableName ( int i ) : string
GetSubclassTableName ( int j ) : string
JoinedSubclassEntityPersister ( NHibernate.Mapping.PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, IMapping mapping ) : System

Constructs the NormalizedEntityPerister for the PersistentClass.

ToColumns ( string alias, string propertyName ) : string[]

Méthodes protégées

Méthode Description
AddDiscriminatorToSelect ( NHibernate.SqlCommand.SelectFragment select, string name, string suffix ) : void
GetKeyColumns ( int table ) : string[]
GetPropertiesToUpdate ( int dirtyProperties, bool hasDirtyCollection ) : bool[]
GetSubclassPropertyTableNumber ( int i ) : int
GetSubclassTableKeyColumns ( int j ) : string[]
GetTableName ( int table ) : string
GetTableUpdateNeeded ( int dirtyProperties, bool hasDirtyCollection ) : bool[]
IsClassOrSuperclassTable ( int j ) : bool
IsPropertyOfTable ( int property, int table ) : bool
IsTableCascadeDeleteEnabled ( int j ) : bool

Private Methods

Méthode Description
DiscriminatorFragment ( string alias ) : NHibernate.SqlCommand.CaseFragment
GetTableId ( string tableName, string tables ) : int

Find the Index of the table name from a list of table names.

Reverse ( string objects ) : string[]
Reverse ( string objects ) : string[][]
Reverse ( object objects, int len ) : void

Method Details

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

GenerateFilterConditionAlias() public méthode

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

GetKeyColumns() protected méthode

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

GetPropertiesToUpdate() protected méthode

protected GetPropertiesToUpdate ( int dirtyProperties, bool hasDirtyCollection ) : bool[]
dirtyProperties int
hasDirtyCollection bool
Résultat bool[]

GetPropertyTableName() public méthode

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

GetRootTableAlias() public méthode

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

GetSubclassForDiscriminatorValue() public méthode

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

GetSubclassPropertyDeclarer() public méthode

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

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

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

GetTableUpdateNeeded() protected méthode

protected GetTableUpdateNeeded ( int dirtyProperties, bool hasDirtyCollection ) : bool[]
dirtyProperties int
hasDirtyCollection bool
Résultat bool[]

IsClassOrSuperclassTable() protected méthode

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

IsTableCascadeDeleteEnabled() protected méthode

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

JoinedSubclassEntityPersister() public méthode

Constructs the NormalizedEntityPerister for the PersistentClass.
public JoinedSubclassEntityPersister ( NHibernate.Mapping.PersistentClass persistentClass, ICacheConcurrencyStrategy cache, ISessionFactoryImplementor factory, IMapping mapping ) : System
persistentClass NHibernate.Mapping.PersistentClass The PersistentClass to create the EntityPersister for.
cache ICacheConcurrencyStrategy The configured .
factory ISessionFactoryImplementor The SessionFactory that this EntityPersister will be stored in.
mapping IMapping The mapping used to retrieve type information.
Résultat System

ToColumns() public méthode

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