DevForce Help Reference
DefaultSaveOptions Property


Gets or sets the default options that will be used if no SaveOptions are passed to a SaveChanges method.
Syntax
'Declaration
 
Public Property DefaultSaveOptions As SaveOptions
'Usage
 
Dim instance As EntityManager
Dim value As SaveOptions
 
instance.DefaultSaveOptions = value
 
value = instance.DefaultSaveOptions
public SaveOptions DefaultSaveOptions {get; set;}
Remarks
If not set, the default is a new SaveOptions instance whose TransactionSettings specify that the default transaction settings are used, and FixupTempIds is set to All.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityManager Class
EntityManager Members

Send Feedback