http://msdn.microsoft.com/zh-cn/library/system.data.sqlclient.sqltransaction(v=VS.80).aspx
这是MSDN中文库中对System.Data.SqlClient做的介绍 在初始化的时候并未指定事务等级 那么 这个默认析构对TransAction会赋哪个等级呢 或者IsolationLevel枚举的默认等级是哪个
谢谢
这是MSDN中文库中对System.Data.SqlClient做的介绍 在初始化的时候并未指定事务等级 那么 这个默认析构对TransAction会赋哪个等级呢 或者IsolationLevel枚举的默认等级是哪个
谢谢
asp.net没有定义什么事务级别,它只是调用数据库系统的事务操作而已。
{
this._objectID = Interlocked.Increment(ref _objectTypeCount);
this._isolationLevel = IsolationLevel.ReadCommitted;
this._isolationLevel = iso;
this._connection = con;
if (internalTransaction == null)
{
this._internalTransaction = new SqlInternalTransaction(internalConnection, TransactionType.LocalFromAPI, this);
}
else
{
this._internalTransaction = internalTransaction;
this._internalTransaction.InitParent(this);
}
}