I have a 3 layer architecture application. the business logic has all the member fields like:
class Demo
{
public Int64 Id{get; set;}
public string InformationLog{get; set;}
}
Currently i am initializing all of the members in the constructor of my class one by one. Is there any way to initialize all of the members at once? something like reflection?
Aucun commentaire:
Enregistrer un commentaire