?
Solved

Naming conventions for files of partial classes extending EF poco functionality

Posted on 2011-03-02
1
Medium Priority
?
675 Views
Last Modified: 2013-12-17
I have used the POCO entitiy generator to create a number of entitiy classes.  I need to extend these but am usure how most people name the extension files.  For example the tt has generated a file named Order.cs.  I wish to extend this but not sure if I should create a seperate folder so I can use another Order.cs file or if I should have a Order_.cs.  What is recommended?
0
Comment
Question by:canuckconsulting
1 Comment
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 2000 total points
ID: 35019521
Generally I would put them in a separate folder called "Models" (especially from MVC projects) and give them the same name as the Entity that it extends.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question