/// <summary> /// Definition of the ROW_NUMBER. /// <remarks> /// This method is for use with Entity Framework Core only and has no in-memory implementation. /// </remarks> /// </summary> /// <exception cref="InvalidOperationException">Is thrown if executed in-memory.</exception> public static long RowNumber <T1, T2, T3, T4, T5, T6>(this DbFunctions _, T1 partitionByColumn1, T2 partitionByColumn2, T3 partitionByColumn3, T4 partitionByColumn4, T5 partitionByColumn5, T6 partitionByColumn6, RowNumberOrderByClause orderBy) { throw new InvalidOperationException("This method is for use with Entity Framework Core only and has no in-memory implementation."); }
// ReSharper disable UnusedParameter.Global /// <summary> /// Definition of the ROW_NUMBER. /// <remarks> /// This method is for use with Entity Framework Core only and has no in-memory implementation. /// </remarks> /// </summary> /// <param name="_">An instance of <see cref="DbFunctions"/>.</param> /// <param name="orderBy">A column or an object containing columns to order by.</param> /// <exception cref="InvalidOperationException">Is thrown if executed in-memory.</exception> public static long RowNumber(this DbFunctions _, RowNumberOrderByClause orderBy) { throw new InvalidOperationException("This method is for use with Entity Framework Core only and has no in-memory implementation."); }
/// <summary> /// Definition of the ORDER BY clause of a the ROW_NUMBER expression. /// </summary> /// <remarks> /// This method is for use with Entity Framework Core only and has no in-memory implementation. /// </remarks> /// <exception cref="InvalidOperationException">Is thrown if executed in-memory.</exception> public static RowNumberOrderByClause ThenByDescending <T>(this RowNumberOrderByClause clause, T column) { throw new InvalidOperationException("This method is for use with Entity Framework Core only and has no in-memory implementation."); }
/// <summary> /// Definition of the ROW_NUMBER. /// <remarks> /// This method is for use with Entity Framework Core only and has no in-memory implementation. /// </remarks> /// </summary> /// <exception cref="InvalidOperationException">Is thrown if executed in-memory.</exception> public static long RowNumber <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this DbFunctions _, T1 partitionByColumn1, T2 partitionByColumn2, T3 partitionByColumn3, T4 partitionByColumn4, T5 partitionByColumn5, T6 partitionByColumn6, T7 partitionByColumn7, T8 partitionByColumn8, T9 partitionByColumn9, T10 partitionByColumn10, T11 partitionByColumn11, T12 partitionByColumn12, T13 partitionByColumn13, T14 partitionByColumn14, T15 partitionByColumn15, RowNumberOrderByClause orderBy) { throw new InvalidOperationException("This method is for use with Entity Framework Core only and has no in-memory implementation."); }