now i want to take all record that OrganizationContact->org_id = 2 how i do that?
i added relation with
public function relations()
{
// NOTE: you may need to adjust the relation name and the related
// class name for the relations automatically generated below.
return array(
'type' => array(self::BELONGS_TO, 'ContactType', 'type_id'),
);
}