"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
Post a Comment