You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internalstaticSimulatedSqlExceptionCannotFindDataType(stringname,intindex)=>new($"Column, parameter, or variable #{index}: Cannot find data type {name}.",2715,16,6);
94
94
95
+
/// <summary>
96
+
/// Mimics the SqlException that occurs then when a TOP/OFFSET/FETCH clause has an inappropriate column reference.
97
+
/// </summary>
98
+
/// <param name="name">The name of the column.</param>
=>new($"The reference to column \"{string.Join('.',name)}\" is not allowed in an argument to a TOP, OFFSET, or FETCH clause. Only references to columns at an outer scope or standalone expressions and subqueries are allowed here.",4115,15,1);
102
+
95
103
internalstaticSimulatedSqlExceptionInvalidColumnName(stringname)=>new($"Invalid column name '{name}'.",207,16,1);
internalstaticSimulatedSqlExceptionThereIsAlreadyAnObject(stringname)=>new($"There is already an object named '{name}' in the database.",2714,16,6);
106
114
115
+
/// <summary>
116
+
/// Mimics the SqlException that occurs then when a TOP or FETCH clause returns something other than an integer.
117
+
/// </summary>
118
+
/// <returns>The exception.</returns>
119
+
internalstaticSimulatedSqlExceptionTopFetchRequiresInteger()=>new("The number of rows provided for a TOP or FETCH clauses row count parameter must be an integer.",1060,15,1);
120
+
107
121
internalstaticSimulatedSqlExceptionUnrecognizedBuiltInFunction(stringname)=>new($"'{name}' is not a recognized built-in function name.",195,15,10);
0 commit comments