Publish ( All Entities )

All the changes that are made in the entities, with the NF tool, will not be seen in the application, until developer publishes the entities to the application database.

The changes done, initially will be got saved in the Entities database. Using this Publish option, it will be get copied to the application (target) database.

If the number of entities, methods, tables is quite large, it will take few minutes for the Publish operation to complete.

No 2 users should not publish for the application at the same point of time. Some of the Db objects will be got locked during publish. So, avoid publishing by multiple developers for an application at the same point of time.

Using this Publish option, entity changes can be updated to client database locations also.

When we publish from this page, it will be also copied the common entities (Shared Entities and Ganges Entities) to the application(target) database, if you want to publish only native Entities then go with Publish (Only Native Entities) page.

In this article

Publish

Field's Description

  • Publish To Different Server?

    Normally during development, entity changes will be need to be published to the application (target) database to test the done changes.

    When the application is got hosted in other environment, like client’s environment, to get the entity changes copied to those environments, need to check this “Publish to Different Server?” option.

    It will ask further details.

    By default, this option is false.

  • Server Name This option will be asked, when the “Publish to Different Server?” option is checked (=true). Need to provide the server name of the publish to different server.

  • Is Windows?

    This option also will be asked, when the “Publish to Different Server?” option is checked (=true). If “Windows Authentication” needs to be used to connect to that different server, then need to check this “Is Windows?” option. If “SQL Authentication” need to be used then need to un-check this option. And need to provide the SQL username and password, for connecting to that different server.

    By default, this option is true.

  • User Name Need to provide the SQL user name that need to be used to connect to that different server. It will be needed only when the “Publish to Different Server?” option is checked (=true) and “Is Windows?” option is un-checked (=false).

  • Password Need to provide the password for the SQL user name that need to be used to connect to that different server. It will be needed only when the “Publish to Different Server?” option is checked (=true) and “Is Windows?” option is un-checked (=false).

  • Database Name

    Need to provide the database name to which the entity objects need to be published. It will be needed only when the “Publish to Different Server?” option is checked (=true).

    In the case of publishing to the local development environment, NF tool knows to which database it needs to publish. So, developer no need to enter the database name.

  • Can Drop and Recreate Entity Tables

    Use this option to drop and recreate the entity table in the application (target) database, during the publish.

    When this option is checked, in the application (target) database, entity tables will be dropped and get recreated. And then entity data will be get inserted into those tables.

    When this option is un-checked, entity data alone will be get copied to the application (target) database.

    By default, this option is true.

  • Is DB Encrypt?