Solved

Naming conventions for files of partial classes extending EF poco functionality

Posted on 2011-03-02
1
640 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 500 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 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