******************** time ********************
2024-10-13 09:53:42


******************** query ********************
SELECT m.Id AS ItemId, 
    m.Name AS ItemName, 
    ta.Id AS TargetArticle_Id, 
    ta.TargetId AS TargetArticle_TargetId, 
    ta.MerchandiseId AS TargetArticle_MerchandiseId, 
    ta.MerchandiseName AS TargetArticle_MerchandiseName, 
    ta.Amount AS TargetArticle_Amount, 
    ta.Price AS TargetArticle_Price, 
    ta.Status AS TargetArticle_Status, 
    ta.Active AS TargetArticle_Active, 
    ta.UserId AS TargetArticle_UserId, 
    ta.FPId AS TargetArticle_FPId   FROM __Merchandise__ m LEFT JOIN  __Android__TargetArticle__ ta  ON m.Id = ta.MerchandiseId AND TargetId = 1 WHERE m.Id > 0 AND m.FPId = 4  AND (m.Name LIKE '%%')  ORDER BY m.Id   DESC  OFFSET (1 - 1) * 20  ROWS FETCH NEXT 20 ROWS ONLY


******************** message ********************
Invalid column name 'MerchandiseName'.
Invalid column name 'UserId'.


******************** StackTrace ********************
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1066
   at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1094
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 734
   at BaseServices.SysDataAccessLayer.ExecuteQuery[T](IDbConnection& dbConnection, String query, Int32& errIndex, Object param, IDbTransaction dbTransaction) in C:\Users\tadbir\source\repos\androidwebservice.git\BaseServices\Services\Implementation\SysDataAccessLayer.cs:line 2216
   at BaseServices.Services.Implementation.TargetRepository.LoadMerchandiseTargetArticleList(APIHeader header, Int32 targetId, MerchandiseTargetArticleFilter merchandiseTargetArticleFilter) in C:\Users\tadbir\source\repos\androidwebservice.git\BaseServices\Services\Implementation\TargetRepository.cs:line 452


