Closed skorunka closed 13 years ago
Correct, it's meant to save transient instances. Updating entities is taken care of automatically via object tracking services for EF.
So, may be we shoud rename it to "Add", "Save" is really confusing :)
Agreed; Add and Remove are better names for the repo methods.
Added Add in 1.1 branch and marked Save as obsolete.
Im confused with IRepository.Save method.
Especially in EF implementation, this method is used to Add/Insert object to repository not to Update/Save changes made on it.
How did you mean it?