When an entity is created from the suite and the save and generate button is pressed, the following code is generated. It appears that there may be a bug.
public async Task<MessageReadReceipt> CreateAsync(
%%method-create-parameters%%)
{
%% validations - create %%
var messageReadReceipt = new MessageReadReceipt(
GuidGenerator.Create(),
reservationId, userId, lastReadDate
);
return await _messageReadReceiptRepository.InsertAsync(messageReadReceipt);
}