Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 class Person : DomainObject
{
    [StringProperty(MaximumLength=60)]
    public virtual string FirstName { get; set; }

    [StringProperty(MaximumLength=60, IsNullable=false)]
    public virtual string Surname { get; set; }
}

A re-motion programmer starts his work on a new re-motion
application by declaring such domain object classes and
their relations among them.

An instance of a domain object class is called a
domain object or domain object instance.

See also
  • No labels