IdeaBlade DevForce 2010 Help Reference
Default Property
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > TransactionSettings Class : Default Property



Default settings for all queries and saves.

Syntax

Visual Basic (Declaration) 
Public Shared Property Default As TransactionSettings
Visual Basic (Usage)Copy Code
Dim value As TransactionSettings
 
TransactionSettings.Default = value
 
value = TransactionSettings.Default
C# 
public static TransactionSettings Default {get; set;}
C++/CLI 
public:
static property TransactionSettings^ Default {
   TransactionSettings^ get();
   void set (    TransactionSettings^ value);
}

Remarks

The Default provides application-wide default transaction settings. You can supply settings for a particular query with the query's QueryStrategy, and for a particular save with the SaveOptions passed in the SaveChanges call. Note that you can also define defaults for an EntityManager using the EntityManager.DefaultQueryStrategy and EntityManager.DefaultSaveOptions.

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.