ThrowIfThisIsNotNew method
void
ThrowIfThisIsNotNew()
Implementation
void ThrowIfThisIsNotNew() {
if (!this.IsNew) {
throw new InvalidOperationException("Strings.ServiceObjectAlreadyHasId");
}
}
void ThrowIfThisIsNotNew() {
if (!this.IsNew) {
throw new InvalidOperationException("Strings.ServiceObjectAlreadyHasId");
}
}