Custom Classes
The Custom Classes are generated by the "Custom Master" template and you generate
them one time only. You never edit the classes generated by the "Generated
Master" template. The Custom classes are partial classes on the Generated classes and you
can override almost all of the base class funtionality. The Custom Classes are a
great place to add business logic and the nice thing is you will never lose the
code when you regenerate. The "Custom Master" template is set to not
over-write files with the same name. Your classes will only have business logic in them
and not a ton of underlying EntitySpaces infrastructure. The same technique can be used for Custom
Queries and the methods in the
Special Functions section.
If you are an EntitySpaces user then you know that using our Dynamic Query API
is the way to go. However, if there is something you need that is not available
in our DynamicQuery API you have full access to the underlying power of ADO.NET.
EmployeesCollectionCustom.cs
C#
VB