Click here to Skip to main content
15,883,705 members
Articles / Web Development / ASP.NET

PixelDragonsMVC.NET - An open source MVC framework

Rate me:
Please Sign up or sign in to vote.
4.58/5 (8 votes)
29 Jun 200710 min read 84.9K   73  
An MVC framework with built-in NHibernate support that makes creating ASP.NET 2 applications easier by minimizing code and configuration
/***********************************************************
 * 
 * Copyright 2007 Pixel Dragons Ltd. All rights reserved.
 * 
 * http://www.codeplex.com/PixelDragonsMVC for licence, more
 * information and latest source code. 
 * 
 * Check out our other stuff at http://www.pixeldragons.com
 * 
 ***********************************************************/

using System;
using System.Collections.Generic;
using System.Text;

namespace PixelDragons.MVCSample.Domain
{
    public class Contact
    {
        private Guid _contactUid = Guid.Empty;
        private User _user;
        private string _name;
        private string _addressLine1;
        private string _addressLine2;
        private string _addressLine3;
        private string _addressLine4;
        private string _addressLine5;
        private string _homePhoneNumber;
        private string _workPhoneNumber;
        private string _mobilePhoneNumber;

        public Contact() 
        {
        }

        public virtual Guid ContactUid
        {
            get { return _contactUid; }
            set { _contactUid = value; }
        }

        public virtual User User
        {
            get { return _user; }
            set { _user = value; }
        }

        public virtual string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public virtual string AddressLine1
        {
            get { return _addressLine1; }
            set { _addressLine1 = value; }
        }

        public virtual string AddressLine2
        {
            get { return _addressLine2; }
            set { _addressLine2 = value; }
        }

        public virtual string AddressLine3
        {
            get { return _addressLine3; }
            set { _addressLine3 = value; }
        }

        public virtual string AddressLine4
        {
            get { return _addressLine4; }
            set { _addressLine4 = value; }
        }

        public virtual string AddressLine5
        {
            get { return _addressLine5; }
            set { _addressLine5 = value; }
        }

        public virtual string HomePhoneNumber
        {
            get { return _homePhoneNumber; }
            set { _homePhoneNumber = value; }
        }

        public virtual string WorkPhoneNumber
        {
            get { return _workPhoneNumber; }
            set { _workPhoneNumber = value; }
        }

        public virtual string MobilePhoneNumber
        {
            get { return _mobilePhoneNumber; }
            set { _mobilePhoneNumber = value; }
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions