ThrowIfThisIsNew method
void
ThrowIfThisIsNew()
Implementation
void ThrowIfThisIsNew() {
if (IsNew) {
throw InvalidOperationException("Strings.ServiceObjectDoesNotHaveId");
}
}
void ThrowIfThisIsNew() {
if (IsNew) {
throw InvalidOperationException("Strings.ServiceObjectDoesNotHaveId");
}
}