I have a basic problem. I need to find the guid of a record with a field set to a specific value. Like finding the only record with its "favouritecolor" attribute set to "red". (the field is unique, no double same colors)
The record I'll be searching is not of the entity type that the plug-in works on.
I've looked for this everywhere, but only found lots of tutorials about getting the Guid of a record that was just created, which doesn't help me much. Should a standard sqlconnection and select statement be used (like select guid from [table name] where favouritecolor = 'red'), or is there a more beautiful way?
I'll appreciate any kind of guidance.
Cheers!