I need your advice. I am trying to develop a 3 layer architecture in ASP.NET that separates BBL,DAL,BOboj.
Inside the DAL, I collect the data via _view. What I wonder, should I write another BOboj for every view??I have already has a BOboj class but it doesn't contain all fields.
When inserting data, I have to use my BOboj,however, when listing, should I create BOboj_view class or another something ??
inserting data (My colum only contains those values)
BOboj {
private int _PId;
private string _Name;
private int _ClassId;
}
listing data
BOboj_view {
private int _PId;
private string _Name;
private string _ClassName;
}
What's the best solution ,
thank you .