Hi i am using this piece of code
public async Task SaveMultipleUsersINBacdendless()
{
Dictionary<string, object> obj1 = new Dictionary<string, object>
{
{ "Address", "Testing004" },
{ "Gender", "Testing004" },
{ "ownerId", "Testing004" },
{ "objectId", "ttttt-yyyyyy-iiii" },
{ "Name", "Testing004" }
};
Dictionary<string, object> obj2 = new Dictionary<string, object>
{
{ "address", "Testing0010" },
{ "gender", "Testing0010" },
{ "ownerId", "Testing0010" },
{ "objectId", "oooo-ppppppppp-paaaaaaaaaaa"},
{ "name", "Testing0010" }
};
List<Dictionary<string, object>> list = new List<Dictionary<string, object>> { obj1 , obj2 };
UnitOfWork unitOfWork = new UnitOfWork();
// Use BulkUpsert for multiple objects
unitOfWork.BulkUpsert("Person", list);
// Execute the unit of work
unitOfWork.Execute();
}
But i got exception on unitOfWork.Execute(); this line when it was executed
The error is
unable to adapt parameter to a method argument type. unable to create an instance of abstract class/interface. Abstract/Interface class mapping is missing for com.backendless.transaction.Operation
But on the other hand if i use BulkCreate or BulkDelete it was working fine.