Показать сообщение отдельно
Старый 25.01.2017, 19:02   #23  
Logger is offline
Logger
Участник
Лучший по профессии 2015
Лучший по профессии 2014
 
3,867 / 3123 (112) ++++++++++
Регистрация: 12.10.2004
Адрес: Москва
Записей в блоге: 2
Цитата:
Сообщение от Logger Посмотреть сообщение
Привет. Мы поймали багу на обычной табличке (без наследования).
Наследование ни при чем....
Катастрофа.
Это оказывается вообще by design
https://msdn.microsoft.com/EN-US/library/aa882181.aspx
Цитата:
Restart the AOS after Adding Fields to Tables

When you insert data in a table during development, the SQL statement you use to insert the data is cached in the AOS. Next you might add a new field to the table and persist the change to the database. This causes the SQL statement in the cache to become stale, because the statement is not updated to include the new field. If you reuse the stale statement, the new field is ignored, or an error might occur.

To avoid this problem, restart the AOS after you persist table schema changes to the database. The cache is empty when the AOS restarts.
Интересно, как они сами-то программируют при этом ? А команда прикладных разработчиков им руки до сих пор не вырвала ?
За это сообщение автора поблагодарили: trud (2), gl00mie (5).