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
If a table has logical delete isDeleted column, then the templates generate a static Destroy(Expression) method. However this calls the underlying SubSonicRepository Delete(Expression) which doesn't exist.
I think the solution is to change the template to call SubSonicRepository.DeleteMany(Expression) instead which does exist. Should the ActiveRecord static method also be renamed to "DestroyMany"?
The text was updated successfully, but these errors were encountered:
See stackoverflow:
http://stackoverflow.com/questions/2141738/subsonic-3-activerecord-delete-destroy-throwing-strange-exception/2187630#2187630
If a table has logical delete isDeleted column, then the templates generate a static Destroy(Expression) method. However this calls the underlying SubSonicRepository Delete(Expression) which doesn't exist.
I think the solution is to change the template to call SubSonicRepository.DeleteMany(Expression) instead which does exist. Should the ActiveRecord static method also be renamed to "DestroyMany"?
The text was updated successfully, but these errors were encountered: