File Per Class False Does Not Generate Code

File Per Class False Does Not Generate Code

Postby petercbaxter » Tue 10 Jan 2017 18:58

In ED 6.0.157, I am trying to minimize the number of output CS files generated from my model. I am using the Telerik Data Access ORM.

If I turn "File Per Class" to true, then I get about 100 class.cs files (one per table) and 100 class.metadatasource.cs files (also one per table). If I turn "File Per Class" to false, I am expecting one .cs file and one metadatasource.cs file, but instead the output folder contains no, as in 0/ZERO, files are generated.

So, is the "File Per Class" equal FALSE broken? Or, am I using it incorrectly?

But more importantly, what parameters can I use to get the minimum number of output files from ED?

Peter
petercbaxter
 
Posts: 1
Joined: Tue 10 Jan 2017 18:53

Re: File Per Class False Does Not Generate Code

Postby Shalex » Tue 10 Jan 2017 19:44

petercbaxter wrote:If I turn "File Per Class" to false, I am expecting one .cs file and one metadatasource.cs file, but instead the output folder contains no, as in 0/ZERO, files are generated.
We cannot reproduce the problem at the moment.

The only file generated in this case is ModelName.Designer.cs (designed behaviour). Please move any entity on the diagram (it will be marked with asterisk as modified) and save it to run custom tool of the model. Is ModelName.Designer.cs generated in this case?
Shalex
Devart Team
 
Posts: 7149
Joined: Thu 14 Aug 2008 12:44


Return to Entity Developer