⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 idbservice.cs

📁 用于c#.net数据库操作的类库。能把结婚集以数组的形成操作。
💻 CS
字号:
using System;
using System.Data;
using System.Collections;
//using System.se
using System.Runtime.Serialization.Formatters.Binary;
using System.Runtime.Serialization;

namespace EnterpriseObjects
{
	/// <summary>
	/// 数据库操作接口
	/// </summary>
	public interface IDbService
	{
		DataSet GetDataSet(string commandText);
		DataSet FillDataSet(string sql,string sTableName);
		int ExecuteSQL(string sql);
		int ExeStroeProcedure(string spName,System.Data.DataRow dr);
		string GetIdBh(string BhId,System.DateTime DT,bool isRed);
		string GetIdBh(string BhId,bool isRed);
	}



//	public class DbParamsEnumerator:IDictionaryEnumerator
//	{
//		private IDictionaryEnumerator innerEnumerator;
//
//		public DbParamsEnumerator(DbParams enumerable)
//		{
//			innerEnumerator=enumerable.Hashtable.GetEnumerator();
//		}
//		#region IDictionaryEnumerator 成员
//
//		public object Key
//		{
//			get
//			{
//				// TODO:  添加 DbParamsEnumerator.Key getter 实现
//				return innerEnumerator.Key;
//			}
//		}
//
//		public object Value
//		{
//			get
//			{
//				// TODO:  添加 DbParamsEnumerator.Value getter 实现
//				return innerEnumerator.Value;
//			}
//		}
//
//		public DictionaryEntry Entry
//		{
//			get
//			{
//				// TODO:  添加 DbParamsEnumerator.Entry getter 实现
//				return innerEnumerator.Entry;
//			}
//		}
//
//		#endregion
//
//		#region IEnumerator 成员
//
//		public void Reset()
//		{
//			innerEnumerator.Reset();
//		}
//
//		public object Current
//		{
//			get
//			{
//				// TODO:  添加 DbParamsEnumerator.Current getter 实现
//				return innerEnumerator.Current;
//			}
//		}
//
//		public bool MoveNext()
//		{
//			// TODO:  添加 DbParamsEnumerator.MoveNext 实现
//			return innerEnumerator.MoveNext();
//		}
//
//		#endregion
//
//	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -