There is one table (SqlCE) containing such columns.
[ID] ,[LastName] ,[FirstName] ,[Patronymic] ,[BirthDay] ,[DepartmentID] You need to add another column of type int (calculated), which will show the person's age for the current day, by calculating it from the [BirthDay] column. How can I do that ? Interested in two approaches
- Make it through Sql query to this table (if it is possible)
- Through Entity Model Constructor.
- Get the number of years with a simple Sql query that somehow converts the date of birth into the number of years
Thanks to all