ConnBeginTx

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.database.sql.driver
  • Platforms: .NET, .NET Standard 2.0, Island

Required Methods


BeginTx

 

// .NET, Island
method BeginTx(ctx: Context; opts: TxOptions): tuple of (Tx, error)
// .NET Standard 2.0
method BeginTx(ctx: Context; opts: TxOptions): ValueTuple<Tx, error>

 

// .NET, Island
(Tx, error) BeginTx(Context ctx, TxOptions opts)
// .NET Standard 2.0
ValueTuple<Tx, error> BeginTx(Context ctx, TxOptions opts)

 

// .NET, Island
func BeginTx(_ ctx: Context, _ opts: TxOptions) -> (Tx, error)
// .NET Standard 2.0
func BeginTx(_ ctx: Context, _ opts: TxOptions) -> ValueTuple<Tx, error>

 

// .NET, Island
func BeginTx(ctx Context, opts TxOptions) (Tx, error)
// .NET Standard 2.0
func BeginTx(ctx Context, opts TxOptions) ValueTuple<Tx, error>

Parameters:

  • ctx:
  • opts: