public static ClientCertificate ToDomainModel(this ClientCertificateEntity entity)
        {
            var cc = new ClientCertificate
            {
                UserName    = entity.UserName,
                Thumbprint  = entity.RowKey,
                Description = entity.Description
            };

            return(cc);
        }
Exemple #2
0
 public void DeleteClientCertificate(ClientCertificateEntity entity)
 {
     AttachTo(ClientCertificatesTable, entity, "*");
     DeleteObject(entity);
     SaveChangesWithRetries();
 }
Exemple #3
0
 public void AddClientCertificate(ClientCertificateEntity entity)
 {
     AddEntity(entity, ClientCertificatesTable);
 }
 public void DeleteClientCertificate(ClientCertificateEntity entity)
 {
     AttachTo(ClientCertificatesTable, entity, "*");
     DeleteObject(entity);
     SaveChangesWithRetries();
 }
 public void AddClientCertificate(ClientCertificateEntity entity)
 {
     AddEntity(entity, ClientCertificatesTable);
 }