Baadal Help - Document

Best Software Development Application |Form Code

Form Code

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.


 Form Code in Database Application Development Software Baadal

Click on Generate Code Button will generate View, Controller, Service and View Model for the selected Form.


 Form Code in Database Application Development Software Baadal

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.


 Form Code in Database Application Development Software Baadal

Controller/Service Expressions.

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.


 Form Code in Database Application Development Software Baadal

Click on Save to save the Expressions.

Don't Overwrite

Enable the Checkbox of View Code, Controller Code, Service Code, and View Model Code to save the modifications done in respective code.


 Form Code in for Web Applications

SQL2LINQ

Click on SQL2LINQ button to convert SQL queries to LINQ.

Click on Save to save all the modification done in code.


 Convert SQL to LINQ