4 ms·
AttributeScope provides the common language for defining attributes. It's shared functionality, validation rules for the attributes. If it were included in the
by likeclockwork 12y ago
AttributeScope provides the common language for defining attributes. It's shared functionality, validation rules for the attributes.
If it were included in the containing class it would only be available to that class.
Company or Employee specific attribute-creation methods could be placed on CompanyScope or EmployeeScope.