Contact entity through the entities layer.
The following example shows how it is done.
Code
Walk-through
First, you need to create aContactAgent. Then we can retrieve a Contact entity carrier by passing the Contact_id to the GetContact method. At this moment, all the properties of this particular contact will be passed to memory from the database. Now you can access all the properties of this contact via this newly created Contact carrier.