Created
January 12, 2012 12:01
-
-
Save pauldambra/1600123 to your computer and use it in GitHub Desktop.
custom profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Web.Profile; | |
namespace AcrHack.Models | |
{ | |
public class CustomProfile : ProfileBase | |
{ | |
//magic string | |
public static string ADDRESS = "address"; | |
public string Address | |
{ | |
get { return this[ADDRESS] as String; } | |
set { this[ADDRESS] = value; } | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment