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

            return(cc);
        }
Esempio n. 2
0
 public void DeleteClientCertificate(ClientCertificateEntity entity)
 {
     AttachTo(ClientCertificatesTable, entity, "*");
     DeleteObject(entity);
     SaveChangesWithRetries();
 }
Esempio n. 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);
 }