Baadal Help - Document
This option will generate the code for a particular Form. If you have already created a project with Baadal, and then made some modification in its source code, then, to add a new Form with the same capability or to modify only one Form with this capability, instead of generating the whole project again, just create code for the specific Form and include the code in the designed application.
Select the Form for which you want to generate code, Click on the Form Code button.
Click on Generate Code Button will generate View, Controller, Service and View Model for the selected Form.
Pre Save/Pre Delete Expressions
To add Pre Save/Pre Delete Expression Click on Pre Save/Pre Delete Expression button.
The Pre Save/Pre Delete Expression button opens a window, where the user can choose to name the expression and decide whether the expression needs to return a Boolean value (True, False) as the return parameter.
To add Controller/Service Expression Click on Controller/Service Expressions .
The Controller/Service Expressions button opens a window, where the user can write Controller/Service Expressions.
Click on Save to save the Expressions.
Enable the Checkbox of View Code, Controller Code, Service Code, and View Model Code to save the modifications done in respective code.
Click on SQL2LINQ button to convert SQL queries to LINQ.
Click on Save to save all the modification done in code.