System.Data.Entity/System/Data/Objects/DataClasses/StructuralObject.cs
/// <summary>
/// Duplicates the current byte value.
/// </summary>
/// <param name="currentValue">
/// The current byte array value
/// </param>
/// <returns>
/// Must return a copy of the values because byte arrays are mutable without providing a
/// reliable mechanism for us to track changes.  This allows us to treat byte arrays like
/// structs which is at least a somewhat understood mechanism.
/// </returns>
Duplicates the current byte value.
Duplicates the current byte value .
protected internal static byte[] GetValidValue(byte[] currentValue)
        {
            if (currentValue == null)
            {
                return null;
            }
            return (byte[])currentValue.Clone();
        }
protected internal static byte [ ] GetValidValue ( byte [ ] currentValue ) { if ( currentValue == null ) { return null ; } return ( byte [ ] ) currentValue . Clone ( ) ; }
Duplicates the current byte value.
Duplicates the current byte value .
Must return a copy of the values because byte arrays are mutable without providing a
reliable mechanism for us to track changes.  This allows us to treat byte arrays like
structs which is at least a somewhat understood mechanism.
Must return a copy of the values because byte arrays are mutable without providing a reliable mechanism for us to track changes . This allows us to treat byte arrays like structs which is at least a somewhat understood mechanism .
currentValue
byte[]
The current byte array value
The current byte array value