I'm trying to set the Id property of my class as combination of another 2 properties:
public class Student
{
public string Id {get;set;}
public Guid StudentNumber {get;set;]
public string SchoolId {get;set;}
}
I want that StudentNumber and SchoolId to be the Id of the object when I save it.
How can it be done?