Hi,
I am little new to the development and started working very recently .
I have one doubt, how to run code once in the life cycle of application.
I am trying to create an application and i just want to run the entire database set up. So that code only needed to run once after that i ll be just updating values.
One way i was thinking was to create a table and checking the value, if the value is true then i would not run the code.
Is this the way or any other way which i am unaware of..
Thank you in advance
I am little new to the development and started working very recently .
I have one doubt, how to run code once in the life cycle of application.
I am trying to create an application and i just want to run the entire database set up. So that code only needed to run once after that i ll be just updating values.
One way i was thinking was to create a table and checking the value, if the value is true then i would not run the code.
Is this the way or any other way which i am unaware of..
Thank you in advance