Пример #1
0
        protected virtual void FillJoins(TableKey sourceTable, ColumnInfo column)
        {
            if (!column.Table.Name.Equals(sourceTable, StringComparison.InvariantCultureIgnoreCase) &&
                !column.IsData)
            {
                Joins.AddJoins(sourceTable, column.Table);

                //string joinKey = GetJoinKey ( sourceTable, column.Table.Name ) ;

                //if ( !_joins.ContainsKey ( joinKey ))
                //{
                //    _joins.Add (joinKey, _cachedJoins[joinKey] ) ;
                //}
            }
        }