A former Dentons Canada partner who pleaded guilty a year ago to four criminal offenses has been sentenced by a Canadian provincial court judge to two years in prison.