///////////////////////////////////////////////////////////////
// This is generated code.
//////////////////////////////////////////////////////////////
// Code is generated using LLBLGen Pro version: 2.0.0.0
// Code is generated on: Saturday, February 24, 2007 10:00:22 PM
// Code is generated using templates: SD.TemplateBindings.SharedTemplates.NET20
// Templates vendor: Solutions Design.
// Templates version:
//////////////////////////////////////////////////////////////
using System;
using System.Data;
using System.EnterpriseServices;
using DataFeedFrameworkDAL.HelperClasses;
using SD.LLBLGen.Pro.ORMSupportClasses;
namespace DataFeedFrameworkDAL.HelperClasses
{
///
/// Specific implementation of the TransactionComPlus class. The constructor will take care of the creation of the physical transaction and the
/// opening of the connection. It will require a COM+ transaction.
///
[MustRunInClientContext(true)]
public partial class TransactionComPlus : TransactionComPlusBase
{
///
/// CTor
///
public TransactionComPlus()
{
}
///
/// Creates a new IDbConnection instance which will be used by all elements using this ITransaction instance.
/// Reads connectionstring from .config file. The COM+ transaction will flow to the used method.
///
/// new IDbConnection instance
protected override System.Data.IDbConnection CreateConnection()
{
DbUtilsComPlus dbUtilsToUse = new DbUtilsComPlus();
return dbUtilsToUse.CreateConnection();
}
///
/// Creates a new IDbConnection instance which will be used by all elements using this ITransaction instance
/// The COM+ transaction will flow to the used method.
///
/// Connection string to use
/// new IDbConnection instance
protected override System.Data.IDbConnection CreateConnection(string connectionString)
{
DbUtilsComPlus dbUtilsToUse = new DbUtilsComPlus();
return dbUtilsToUse.CreateConnection(connectionString);
}
///
/// Creates a new physical transaction object over the created connection. The connection is assumed to be open.
/// This method is void in combination of a COM+ transaction. It will always return null.
///
/// null
protected override System.Data.IDbTransaction CreatePhysicalTransaction()
{
return null;
}
#region Included Code
#endregion
}
}