Search code examples
c#naming-conventionspoco

Persistence Object Naming Convention


I have some POCOs and there are corresponding persistence objects that do the CRUD. What is a good name for the persistence objects? I've seen people use the term "service objects" for these, but when I think service, I think WCF. Maybe "persistence objects" is the best, but I'd like to hear what other people think.


Solution

  • One common convention is the Repository pattern when dealing with persisting objects to a datastore, so you would expect to see naming conventions in the form of (given an corresponding type Poco):

    PocoRepository