Tuesday, September 21, 2010

MS CRM 2011 Beta - DeletionStateCode - No longer available.

Finally it's time to say good bye "DeletionStateCode" attribute. The attribute has been removed from all entities.

Now, it is hard delete. If a record is deleted, it would be removed from the entity table.

Happy purging !!!!

1 comment:

Matt Poland said...

Here's a little script to see if your custom database is referencing the now-gone DeletionStateCode:

SELECT DB_NAME() AS DataBaseName, SqlObjects.name, SqlObjects.type_desc
FROM sys.all_objects AS SqlObjects
inner join sys.syscomments AS Comments ON SqlObjects.object_id = Comments.id
WHERE Comments.text LIKE '%DeletionStateCode%'