
Visual Basic (Declaration) | |
---|---|
<DataContractAttribute()> Public Class SaveOptions |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As SaveOptions |
C# | |
---|---|
[DataContractAttribute()] public class SaveOptions |
C++/CLI | |
---|---|
[DataContractAttribute()] public ref class SaveOptions |
Using SaveOptions you can specify the TransactionSettings used during a save, FixupTempIds to specify whether to fixup all generated temporary Ids or only those Ids corresponding to entities passed into the SaveChanges method, and EntityTypesExcludedFromPostSaveRefetch to specify the entity types to be excluded from a post-save refetch.
The Tag property may be used to pass custom information that can be used by a EntityServerSaveInterceptor to mediate the save operation. The PersistenceOrder is not currently used. In a future release this property will allow you to set the entity order when saving to non-EDM data sources.
By default, TransactionSettings.Default is used and FixupTempIds is set to All.
System.Object
IdeaBlade.EntityModel.SaveOptions
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family