If you want to fill them in your code or want EF to create a database for you, you need to map (at least represent them in your POCO class). If you have an existing database, and this column will never be presented in your application, you will not need a mapping. Instead, you can set a default value for this column (in MS SQL you will use GetDate () as the default value).
source
share