SenseNet.ContentRepository.Field.Save C# (CSharp) Method

Save() private method

private Save ( bool validOnly ) : void
validOnly bool
return void
		internal void Save(bool validOnly)
		{
			//-- Rewrites ContentHandler properties if Field is changed and values are valid
            if (!_changed)
			{
                this.ValidationResult = FieldValidationResult.Successful;
				return;
			}
			Validate();
			//if (!_isValidated)
			//{
			//    //this.ValidationResult = null;
			//    DoValidate();
			//    //_isValidated = true;
			//}
			if (!validOnly || this.IsValid)
			{
				WriteProperties(_value);
				_changed = false;
			}
		}
        private bool _isDefaultValueHandled;