I have a plugin that is called on Create for an Entity. When I receive the Target Entity, I look up the record by the Id. I want to compute a value and save that record. I do that and don't receive any error but the field is not updated in the datbase.
atfApplication = service.Retrieve( "aws_accreditationapplication", accreditationApplicationID, new ColumnSet( true ) );
if ( !atfApplication.Attributes.Contains( "aws_name" ) )
{
string strATFName = $"{anAccount["name"]} - {anApplicationtType["aws_name"]}";
atfApplication["aws_name"] = strATFName;
service.Update( atfApplication );
}