Visual Basic (Declaration) | |
---|---|
Public Shared Property Default As TransactionSettings |
Visual Basic (Usage) | ![]() |
---|---|
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); } |
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.
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