src/Misc/EFTools/EntityDesignModel/Entity/Property.cs
/// <summary>
///     Remove all facets except Nullable (i.e. the setting of Nullable remains as is).
/// </summary>
Remove all facets except Nullable .
Remove all facets except Nullable .
internal void RemoveAllFacetsExceptNullable()
        {
            if (null != DefaultValue)
            {
                DefaultValue.Delete();
                _defaultAttr = null;
            }
            if (null != MaxLength)
            {
                MaxLength.Delete();
                _maxLengthAttr = null;
            }
            if (null != FixedLength)
            {
                FixedLength.Delete();
                _fixedLengthAttr = null;
            }
            if (null != Precision)
            {
                Precision.Delete();
                _precisionAttr = null;
            }
            if (null != Scale)
            {
                Scale.Delete();
                _scaleAttr = null;
            }
            if (null != Unicode)
            {
                Unicode.Delete();
                _unicodeAttr = null;
            }
            if (null != Collation)
            {
                Collation.Delete();
                _collationAttr = null;
            }
        }
internal void RemoveAllFacetsExceptNullable ( ) { if ( null != DefaultValue ) { DefaultValue . Delete ( ) ; _defaultAttr = null ; } if ( null != MaxLength ) { MaxLength . Delete ( ) ; _maxLengthAttr = null ; } if ( null != FixedLength ) { FixedLength . Delete ( ) ; _fixedLengthAttr = null ; } if ( null != Precision ) { Precision . Delete ( ) ; _precisionAttr = null ; } if ( null != Scale ) { Scale . Delete ( ) ; _scaleAttr = null ; } if ( null != Unicode ) { Unicode . Delete ( ) ; _unicodeAttr = null ; } if ( null != Collation ) { Collation . Delete ( ) ; _collationAttr = null ; } }
Remove all facets except Nullable (i.e.
Remove all facets except Nullable ( i . e .