コード例 #1
0
        public override void ApplyChangesFrom(IPersistenceObject obj)
        {
            base.ApplyChangesFrom(obj);

            if (!CurrentAccessRights.HasWriteRights())
            {
                throw new System.Security.SecurityException(string.Format("The current identity has no rights to modify an Object of type '{0}'", obj.GetType().FullName));
            }
        }