A domain object class implements the properties
and the behavior of a domain object. The
canonical example is a Person
class, which
might serve as a base class for a large enterprise
application for managing payroll:
public partial class Person : DomainObject { [StringProperty(MaximumLength=60)] public virtual string FirstName { get; set; } [StringProperty(MaximumLength=60, IsNullable=false)] public virtual string Surname { get; set; } }
An instance of a domain object class is called a
domain object or domain object instance.