private static bool IsMatchingEntity(IEntity destination, IEntity source)
        {
            string destinationName, sourceName;

            if (destination is CommandEntity)
            {
                destinationName = NamingConventions.CleanName(destination.EntityKeyName, false);
                sourceName      = source.EntityKeyName;
            }
            else
            {
                destinationName = destination.GetSafeName();
                sourceName      = source.GetSafeName();
            }

            return(destinationName == sourceName);
        }