How about adding a "GetByID" function? The check is searching the entity, if NULL - save - if NOT NULL - update.
I don't believe it is useful to save a trip to the database, the database is there for a reason.
I don't believe it is useful to save a trip to the database, the database is there for a reason.