c# - Where do you place your validation logic? -
c# - Where do you place your validation logic? -
how construction code in next scenario:
several business objects (e.g.person, house, etc), , between them, need validate user inputs (which come in textboxes). go in either:
each business object the winforms codebehind a seperate (static?) class.thanks
each business object. have classically made each 1 implement ivalidator interface spits out validation errors object.
c# oop
Comments
Post a Comment