jeudi 28 décembre 2017

What should i select Static class or concrete class?

I need to create a mapper which will map DataTable into an Object of a class(Just set every property into class by DataTable column)

I am thinking below possiblities..

1) Create a Static class and Static method signature like Map(DataTable obj).

2) Create a Concrete class and Static method signature like Map(DataTable obj).

3) Create a Concrete class and Non Static metho signature like Map(DataTable obj).

please suggest what should i do?

Aucun commentaire:

Enregistrer un commentaire