Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Can anyone suggest me a Common Name for Edit,Save,Delete,Select

I want to create a Interface in C#, which will support all these methods.

My Context is :

I am developing an Invoice Application in which i need a Product to be Created,Deleted,Updated,Selected

share|improve this question
2  
Document / DocumentActions –  gnat Sep 11 '12 at 7:44
    
How come document –  The Indian Programmmer Sep 11 '12 at 7:47
    
document is the thing intended for edit, save, delete –  gnat Sep 11 '12 at 7:48
1  
What context are these operations in? Documents, files, objects...? –  deadly Sep 11 '12 at 7:50
    
want you display that text in menu? and on that text's click event you want to do that operation? right? –  Viral Sarvaiya Sep 11 '12 at 8:24
show 3 more comments

3 Answers

up vote 35 down vote accepted

CRUD is usually the technical term that is used to describe create/read/update/delete functionality.

...create, read, update and delete (CRUD) (Sometimes called SCRUD with an "S" for Search) are the four basic functions of persistent storage. Sometimes CRUD is expanded with the words retrieve instead of read, modify instead of update, or destroy instead of delete. It is also sometimes used to describe user interface conventions that facilitate viewing, searching, and changing information; often using computer-based forms and reports... The acronym may be extended to CRUDL to cover listing of large data sets which bring additional complexity such as pagination when the data sets are too large to hold easily in memory.

Another variation of CRUD is BREAD, an acronym for "Browse, Read, Edit, Add, Delete"...

share|improve this answer
5  
1. Downvote with no explanation is dumb. 2. I was thinking of CRUD when I saw this question. –  The Muffin Man Sep 11 '12 at 8:58
    
Good example of a good answer salvaging an at-face-value bad question :) –  Joris Timmermans Sep 11 '12 at 9:43
    
Actually it's Create Read Update Delete :) –  Nikolay Fominyh Sep 11 '12 at 10:19
2  
Honestly, this answer seems for me only like a wild guessing around what the OP could have meant. And I personally dislike wild guessing (though I don't downvote the answer, since it is not plain wrong). I only wonder why such an answer gets so many upvotes. –  Doc Brown Sep 11 '12 at 10:50
1  
@DocBrown - the answer is upvoted because it's a brilliant guess at an answer to a vague question. It might not be the answer the original asker intended to get, but it's the perfect answer to the question as asked. –  Joris Timmermans Sep 11 '12 at 14:45
show 3 more comments

IMHO there is no really good common name for those operations. Besides the suggestions of the commenters to give your interface a name related to the kind of objects you want to use it for in your context, you could call the interface something like IEditableSaveableDeleteable or IEditableSaveable (the latter assumes when something is saveable that it should be clear in your context that it must also be deleteable).

share|improve this answer
add comment

Since you have not given a context of edit, save and delete, I will use the term OBJECT which you would eventually replace to suit your context.

Next, edit, save and delete are each some kind of change. So, it makes your interface to begin with the word Modify.

The third parameter which will be useful in a name is the subject. "Who is changing it?" I will use the term SUBJECT in the name which you would need to replace suitably.

All combined here is my suggestion:

IModify*OBJECT*By*SUBJECT*

Ex. IModifyFileBySuperuser or IModifyUserByAdmin

Hope this helps.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.