public static IEnumerable <int> GetRowNumberColumnIndexes(this ISqlSelectStatement sqlStatement, ICompositeKey key, IQueryTable context) { return(sqlStatement.GetRowNumberColumnIndexes(sqlStatement.SupplimentPrimaryKeyColumns(key, context))); }
/// <summary> /// Get a list of pk columns for the "columnAlias" containing the "context" /// <summary> public static IEnumerable <ICompositeKey> GetPrimaryKeyColumns(this ISqlSelectStatement sqlStatement, string columnAlias, IQueryTable context) { return(sqlStatement.SupplimentPrimaryKeyColumns( sqlStatement.SelectColumns[columnAlias].PrimaryKey, context)); }