There is nothing wrong with breaking a class into partial ones. Its something that few developers use.
Personally, I like to divide the larger classes into partial ones, where the business side of things for each particle has similar functionality, but only if during development it seems that the specified class will become quite large. Otherwise, I separate related functions in scope.
As an example, if I have a "UserService" that is inside the data layer, I could split it into several partial files as follows:
UserServiceQueries.cs UserServiceUpdates.cs UserServiceInserts.cs UserServiceLogicalFunctions.cs
.. However, they do contain partial UserService classes. I usually do not use ORM, so for me it is ideal, because each part of the related functions can become quite large (obviously this is a basic example).
In conclusion: take advantage of what is supplied. If you get the smell of code from your class, that is huge. You have only 2 options. Overwrite it or split it (if it should definitely be so big).
My opinion anyway.
source share