Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads
 
Add your own
alternative version

Parichay (A Simple & Small Asp.Net MVC Social Network Starter)

, 22 Feb 2012
Parichay (A Simple & Small Asp.Net MVC Social Network Starter)
Parichay.zip
Parichay
DBScript
MySql
SQLServer
Parichay.Data
bin
Debug
Aadhaar.Data.pdb
Castle.Core.dll
Castle.DynamicProxy.dll
Castle.DynamicProxy2.dll
Iesi.Collections.dll
log4net.dll
MySql.Data.dll
MySql.Web.dll
NHibernate.dll
NHibernate.JetDriver.dll
Parichay.Data.dll
Parichay.Data.pdb
Entity
Components
Entity
Mapping
Helper
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Properties
Util
ViewModel
Parichay.MVC
App_Data
bin
AutoMapper.dll
Castle.Core.dll
Castle.DynamicProxy.dll
Castle.DynamicProxy2.dll
Iesi.Collections.dll
log4net.dll
MySql.Data.dll
MySql.Web.dll
NHibernate.dll
NHibernate.JetDriver.dll
Parichay.Data.dll
Parichay.Data.pdb
Parichay.MVC.dll
Parichay.MVC.pdb
Parichay.Security.dll
Parichay.Security.pdb
cd1.cd
Content
images
bullet-arrow.gif
empty.jpg
hdrLogo.jpg
i-bb.gif
i-blc.gif
i-brc.gif
i-l.gif
i-r.gif
i-tb.gif
i-tlc.gif
i-trc.gif
img01.jpg
spacer.gif
Scripts
Styles
images
ui-bg_diagonals-thick_18_b81900_40x40.png
ui-bg_diagonals-thick_20_666666_40x40.png
ui-bg_flat_10_000000_40x100.png
ui-bg_glass_100_f6f6f6_1x400.png
ui-bg_glass_100_fdf5ce_1x400.png
ui-bg_glass_65_ffffff_1x400.png
ui-bg_gloss-wave_35_f6a828_500x100.png
ui-bg_highlight-soft_100_eeeeee_1x100.png
ui-bg_highlight-soft_75_ffe45c_1x100.png
ui-icons_222222_256x240.png
ui-icons_228ef1_256x240.png
ui-icons_ef8c08_256x240.png
ui-icons_ffd27a_256x240.png
ui-icons_ffffff_256x240.png
themes
base
images
ui-bg_flat_0_aaaaaa_40x100.png
ui-bg_flat_75_ffffff_40x100.png
ui-bg_glass_55_fbf9ee_1x400.png
ui-bg_glass_65_ffffff_1x400.png
ui-bg_glass_75_dadada_1x400.png
ui-bg_glass_75_e6e6e6_1x400.png
ui-bg_glass_95_fef1ec_1x400.png
ui-bg_highlight-soft_75_cccccc_1x100.png
ui-icons_222222_256x240.png
ui-icons_2e83ff_256x240.png
ui-icons_454545_256x240.png
ui-icons_888888_256x240.png
ui-icons_cd0a0a_256x240.png
Controllers
Helpers
Global.asax
Mails
Models
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Parichay.MVC.csproj.user
Properties
Views
Account
Admin
Alert
Connect
Error
Friend
Group
Home
Media
Message
Shared
BO
Parichay.Security
bin
Debug
Castle.Core.dll
Castle.DynamicProxy.dll
Castle.DynamicProxy2.dll
Iesi.Collections.dll
log4net.dll
MySql.Data.dll
MySql.Web.dll
NHibernate.dll
Parichay.Security.dll
Parichay.Security.pdb
Entity
Components
Mapping
Helper
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Properties
NHibernateProvider.snk
UserType
Util
ViewModel
Parichay.suo
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Iesi.Collections;
using Iesi.Collections.Generic;



using Parichay.Data.Entity;

namespace Parichay.Data.Entity 
{    
	/// <summary>
	/// An object representation of the Member_Details table
	/// </summary>
	//[Serializable]
	public class MemberDetails
	{
		protected System.Int32 _Id;

        private System.String _PEmail;
		private System.String _SEmail;
		private System.String _Surnm;
		private System.String _PostalC;
		private System.String _HphoneN;
		private System.String _Institute;
		private System.String _TelN;
		private System.String _Nicknm;
        private System.String _GenderC;
		private System.String _Addr;
		private System.String _Dept;
		private System.String _CtryC;
		private System.String _Givennm;
		private System.String _TitleC;
        private System.DateTime _Version;


        private Int32 _ShowPrvInfo;

        public virtual Int32 ShowPrvInfo
        {
            get { return _ShowPrvInfo; }
            set { _ShowPrvInfo = value; }
        }


        private Nullable<System.Int32> _PicId;

        private MemberAbout _Biodata;

        public virtual MemberAbout Biodata
        {
            get { return _Biodata; }
            set { _Biodata = value; }
        }

        public Dictionary<string, string> lstGender { get { return new Dictionary<string, string>() { { "M", "Male" }, { "F", "Female" }}; } }
        public Dictionary<string, string> lstTitles { get { return new Dictionary<string, string>() { { "Mr.", "Mr" }, { "Mrs.", "Mrs." }, { "Prof.", "Prof." }, { "Dr.", "Dr." }, { "Ms.", "Ms." }}; } }
        public IList<Country> lstCountries { get; set; }

        public Nullable<System.Int32> PicId
        {
            get { return _PicId; }
            set { _PicId = value; }
        }

        [Display(Name = "Primary Email")]
        [Required]
        public virtual System.String PEmail
        {
            get
            {
                return _PEmail;
            }
            set
            {
                _PEmail = value;
            }
        }

        public virtual System.DateTime Version
        {
            get
            {
                return _Version;
            }
            set
            {
                _Version = value;
            }
        }


		public virtual System.String SEmail
		{
			get
			{
				return _SEmail;
			}
			set
			{
				_SEmail = value;
			}
		}

        [Display(Name = "Sur Name")]
        [Required]
		public virtual System.String Surnm
		{
			get
			{
				return _Surnm;
			}
			set
			{
				_Surnm = value;
			}
		}

		public virtual System.String PostalC
		{
			get
			{
				return _PostalC;
			}
			set
			{
				_PostalC = value;
			}
		}

		public virtual System.String HphoneN
		{
			get
			{
				return _HphoneN;
			}
			set
			{
				_HphoneN = value;
			}
		}

		public virtual System.String Institute
		{
			get
			{
				return _Institute;
			}
			set
			{
				_Institute = value;
			}
		}

		public virtual System.String TelN
		{
			get
			{
				return _TelN;
			}
			set
			{
				_TelN = value;
			}
		}
        [Display(Name = "Nick Name")]
		public virtual System.String Nicknm
		{
			get
			{
				return _Nicknm;
			}
			set
			{
				_Nicknm = value;
			}
		}

        [Required]
        public virtual System.String GenderC
		{
			get
			{
                return _GenderC;
			}
			set
			{
                _GenderC = value;
			}
		}


		public virtual System.String Addr
		{
			get
			{
				return _Addr;
			}
			set
			{
				_Addr = value;
			}
		}

		public virtual System.String Dept
		{
			get
			{
				return _Dept;
			}
			set
			{
				_Dept = value;
			}
		}

        [Required]
		public virtual System.String CtryC
		{
			get
			{
				return _CtryC;
			}
			set
			{
				_CtryC = value;
			}
		}

		public virtual System.Int32 Id
		{
			get
			{
				return _Id;
			}
			set
			{
				_Id = value;
			}
		}

        [Display(Name = "Given Name")]
        [Required]
        [StringLength(60,MinimumLength=3)]
		public virtual System.String Givennm
		{
			get
			{
				return _Givennm;
			}
			set
			{
				_Givennm = value;
			}
		}

        [Display(Name = "Title")]
        [Required]
		public virtual System.String TitleC
		{
			get
			{
				return _TitleC;
			}
			set
			{
				_TitleC = value;
			}
		}

        [Display(Name="Show Contact Info. to Public?")]
        [Required]
        public bool bShowPrvInfo { get { return (_ShowPrvInfo != 0); } set { _ShowPrvInfo = (value) ? 1 : 0; } }

		protected bool Equals(MemberDetails entity)
		{
			if (entity == null) return false;
			if (!base.Equals(entity)) return false;
			if (!Equals(_Id, entity._Id)) return false;
			return true;
		}

		public override bool Equals(object obj)
		{
			if (ReferenceEquals(this, obj)) return true;
			return Equals(obj as MemberDetails);
		}

		public override int GetHashCode()
		{
			int result = base.GetHashCode();
			result = 29*result + _Id.GetHashCode();
			return result;
		}

	}
}

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, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)

About the Author

okdone
Web Developer
Singapore Singapore
Programming is my hobby (and luckily my profession as well). My curiosity with computers started since early school days which inspired me to join computer hardware and even electronics repairs. The same interest made me choose Computer Science & Engineering as major in B.Tech. After a start with Java at college curriculum & teaching C programming for some time, I found the opportunity to work in C# and Asp.Net. I also like to study PHP, JSP-Struts and C etc. though my affair with Asp.Net, C# has been everlasting. I like to learn everything related to web - HTML, CSS, Javascript, JQuery and Photoshop etc.

| Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 23 Feb 2012
Article Copyright 2012 by okdone
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid