protected override DbCommand CreateGetStoredProcedureRecordsCommand(DbConnection connection, DataSourceParameters parameters, int offset, int fetchCount) { return(connection.CreateCommand($"call {Source.Table}({parameters?.ToArgsNamesString() ?? string.Empty})")); }
protected virtual DbCommand CreateGetFunctionRecordsCommand(DbConnection connection, DataSourceParameters parameters, int offset, int fetchCount) { return(connection.CreateCommand($"SELECT * FROM {Source.Table}({parameters?.ToArgsNamesString() ?? string.Empty})")); }