English Boards > Support

Employee timecard implementation: Need help for db select query

<< < (2/2)

DQ:
Thanks Emre.  I am checking date condition in the code and it works fine. Thx for your help. Infact the problem was my Id was not set to auto increment.

How do I add this table creation so it will automatically create if not exist? Should I add into Migration_xxx.cs file?

emre:
Yes. First of all you'll increase database version number on LocalSettings class. This version number is useful to know from which database version to which database version we are migrating and which migration classes should run. To be able to upgrade database you need to create a new migration class and attribute it with the new database version number.

Navigation

[0] Message Index

[*] Previous page

Go to full version