Skip to content

Instantly share code, notes, and snippets.

@thephw
Created August 27, 2014 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thephw/0552fe7b1bc8f3cf5ed4 to your computer and use it in GitHub Desktop.
Save thephw/0552fe7b1bc8f3cf5ed4 to your computer and use it in GitHub Desktop.
private static MembershipContext _dbContext;
public static MembershipContext dbcontext
{
get
{
if (_dbcontext==null)
{
_dbcontext = new MembershipContext();
}
return _dbcontext;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment