コード例 #1
0
 override internal void SetModifiedAll()
 {
     ValidateState();
     throw EntityUtil.CantModifyRelationState();
 }
コード例 #2
0
        /// <summary>
        /// Throws since the method has no meaning for relationship entries.
        /// </summary>
        public override bool IsPropertyChanged(string propertyName)
        {
            ValidateState();

            throw EntityUtil.CantModifyRelationState();
        }
コード例 #3
0
        /// <summary>
        /// Marks specified property as modified.
        /// </summary>
        /// <param name="propertyName">This API recognizes the names in terms of OSpace</param>
        /// <exception cref="InvalidOperationException">If State is not Modified or Unchanged</exception>
        ///
        override public void SetModifiedProperty(string propertyName)
        {
            ValidateState();

            throw EntityUtil.CantModifyRelationState();
        }
コード例 #4
0
        /// <summary>
        /// Throws since the method has no meaning for relationship entries.
        /// </summary>
        override public void RejectPropertyChanges(string propertyName)
        {
            ValidateState();

            throw EntityUtil.CantModifyRelationState();
        }
コード例 #5
0
 override public void SetModified()
 {
     ValidateState();
     throw EntityUtil.CantModifyRelationState();
 }