You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a table with a Computed Column (e.g., 1+2+3)
Generate ActiveRecord.cs and run
Attempt to Save a new object to db (ObjectName.Save(username, providerName) ... or ActiveRecord.Add(providerName)...
Actual Result:
System.Data.SqlClient.SqlException: The column "{0}" cannot be modified because it is either a computed column or is the result of a UNION operator.
Expected Result:
Columns that are IsComputed=1 (true) should be ignored for INSERTs. They should not render a "set" property either. IsComputed is a property of column but it appears to not be honored
Steps to Reproduce
Actual Result:
System.Data.SqlClient.SqlException: The column "{0}" cannot be modified because it is either a computed column or is the result of a UNION operator.
Expected Result:
Columns that are IsComputed=1 (true) should be ignored for INSERTs. They should not render a "set" property either. IsComputed is a property of column but it appears to not be honored
For more information, see forum thread:
http://stackoverflow.com/questions/4423613/computed-columns-in-sql-server-with-subsonic
The text was updated successfully, but these errors were encountered: