Remotion.Linq.SqlBackend.MappingResolution.MappingResolutionContext.GetReferencedGroupSource C# (CSharp) Method

GetReferencedGroupSource() public method

public GetReferencedGroupSource ( SqlGroupingSelectExpression groupingSelectExpression ) : SqlTableBase
groupingSelectExpression Remotion.Linq.SqlBackend.SqlStatementModel.SqlGroupingSelectExpression
return Remotion.Linq.SqlBackend.SqlStatementModel.SqlTableBase
    public SqlTableBase GetReferencedGroupSource (SqlGroupingSelectExpression groupingSelectExpression)
    {
      ArgumentUtility.CheckNotNull ("groupingSelectExpression", groupingSelectExpression);
      SqlTableBase result;
      if (_groupReferenceMapping.TryGetValue (groupingSelectExpression, out result))
        return result;

      var message = string.Format (
          "No associated table found for grouping select expression '{0}'.", 
          FormattingExpressionTreeVisitor.Format (groupingSelectExpression));
      throw new InvalidOperationException (message);
    }