IdeaBlade DevForce 2010 Help Reference
SaveOptions Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : SaveOptions Class



Options that can be used to control EntityManager.SaveChanges processing.

Object Model

SaveOptions ClassTransactionSettings Class

Syntax

Visual Basic (Declaration) 
<DataContractAttribute()>
Public Class SaveOptions 
Visual Basic (Usage)Copy Code
Dim instance As SaveOptions
C# 
[DataContractAttribute()]
public class SaveOptions 
C++/CLI 
[DataContractAttribute()]
public ref class SaveOptions 

Remarks

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.

Inheritance Hierarchy

System.Object
   IdeaBlade.EntityModel.SaveOptions

Requirements

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

See Also

© 2013 All Rights Reserved.