Proprietà ObjectContextOptions.UseLegacyPreserveChangesBehavior
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Ottiene o imposta un valore booleano che determina se usare il comportamento PreserveChanges legacy.
Spazio dei nomi: System.Data.Entity.Core.Objects
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public Property UseLegacyPreserveChangesBehavior As Boolean
Get
Set
'Utilizzo
Dim instance As ObjectContextOptions
Dim value As Boolean
value = instance.UseLegacyPreserveChangesBehavior
instance.UseLegacyPreserveChangesBehavior = value
public bool UseLegacyPreserveChangesBehavior { get; set; }
public:
property bool UseLegacyPreserveChangesBehavior {
bool get ();
void set (bool value);
}
member UseLegacyPreserveChangesBehavior : bool with get, set
function get UseLegacyPreserveChangesBehavior () : boolean
function set UseLegacyPreserveChangesBehavior (value : boolean)
Valore proprietà
Tipo: System.Boolean
true se deve essere usato il comportamento PreserveChanges legacy; in caso contrario, false.