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