"the operation current state transaction" blunder transaction scope


i am removing following blunder i try stored way contains name statement:




the operation current state transaction




here structure calls:



public vacant myaddupdatemethod()
{

controlling (transactionscope range = new transactionscope(transactionscopeoption.requiresnew))
{
using(sqlserver sql = new sqlserver(this.m_connstring))
{
//do initial supplement transform statement

//do name matter sp
bool doesrecordexist = this.selectstatementcall(id)
}
}
}

public bool selectstatementcall(system.guid id)
{
using(sqlserver sql = new sqlserver(this.m_connstring)) //breaks line
{
//create parameters
//
}
}


is problem me formulating another tie same database within transaction?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?