Skip to content

Instantly share code, notes, and snippets.

@jkuemerle
Created August 30, 2012 02:54
Show Gist options
  • Select an option

  • Save jkuemerle/3521883 to your computer and use it in GitHub Desktop.

Select an option

Save jkuemerle/3521883 to your computer and use it in GitHub Desktop.
Credential DTO with encrypted property attributes
namespace DataAccess.DTO
{
[Aspects.EncryptedType]
public class Credential
{
public string LoginName { get; set; }
[Aspects.Encrypted]
public string Password { get; set; }
public string AccountNumber { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment