DbConnection.BeginDbTransaction(IsolationLevel) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, starts a database transaction.
protected:
abstract System::Data::Common::DbTransaction ^ BeginDbTransaction(System::Data::IsolationLevel isolationLevel);
protected abstract System.Data.Common.DbTransaction BeginDbTransaction (System.Data.IsolationLevel isolationLevel);
abstract member BeginDbTransaction : System.Data.IsolationLevel -> System.Data.Common.DbTransaction
Protected MustOverride Function BeginDbTransaction (isolationLevel As IsolationLevel) As DbTransaction
Parameters
- isolationLevel
- IsolationLevel
One of the enumeration values that specifies the isolation level for the transaction to use.
Returns
An object representing the new transaction.
Remarks
If you are creating your own connection type, override this method to implement the code necessary to begin a transaction.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.