private void DoInitialize(FromClause fromClause, string tableAlias, string className, string classAlias, IEntityPersister persister, EntityType type) { if (_initialized) { throw new InvalidOperationException("Already initialized!!"); } _fromClause = fromClause; _tableAlias = tableAlias; _className = className; _classAlias = classAlias; _elementType = new FromElementType(this, persister, type); // Register the FromElement with the FROM clause, now that we have the names and aliases. fromClause.RegisterFromElement(this); if (Log.IsDebugEnabled()) { Log.Debug("{0} : {1} ({2}) -> {3}", fromClause, className, (classAlias ?? "no alias"), tableAlias); } }
private void DoInitialize(FromClause fromClause, string tableAlias, string className, string classAlias, IEntityPersister persister, EntityType type) { if (_initialized) { throw new InvalidOperationException("Already initialized!!"); } _fromClause = fromClause; _tableAlias = tableAlias; _className = className; _classAlias = classAlias; _elementType = new FromElementType(this, persister, type); // Register the FromElement with the FROM clause, now that we have the names and aliases. fromClause.RegisterFromElement(this); if (Log.IsDebugEnabled) { Log.Debug(fromClause + " : " + className + " (" + (classAlias ?? "no alias") + ") -> " + tableAlias); } }
protected void InitializeComponentJoin(FromElementType elementType) { _elementType = elementType; _fromClause.RegisterFromElement(this); _initialized = true; }