using System;
using System.ComponentModel;
using System.Data;
using System.Xml;
namespace System.Data.XmlClient
{
public class XmlConnection : Component, IDbConnection, ICloneable
{
// Constructors
public XmlConnection()
{
}
public XmlConnection(string connectionString)
{
_connString = connectionString;
}
////////////////////
// IDbConnection
////////////////////
// Public Properties
public string ConnectionString
{
get { return _connString; }
set { _connString = value; }
}
public int ConnectionTimeout
{
get
{
throw new InvalidOperationException("XmlClient Provider does not support this function");
时间: 2024-10-03 01:17:03