IsNew property

bool get IsNew
True if the attachment has not yet been saved, false otherwise.

Implementation

bool get IsNew => StringUtils.IsNullOrEmpty(this.Id);