IsNew() public méthode

public IsNew ( ) : bool
Résultat bool
 public void Save(CiphertextDto ciphertextDto)
 {
     if (ciphertextDto.IsNew())
     {
         ciphertextDto.Id = Guid.NewGuid();
     }
     InternalSave(ciphertextDto);
 }
Exemple #2
0
 public void Save(CiphertextDto ciphertextDto)
 {
     if (ciphertextDto.IsNew())
     {
         ciphertextDto.Id = Guid.NewGuid();
     }
     InternalSave(ciphertextDto);
 }