zoukankan      html  css  js  c++  java
  • 数据访问接口层

    using System;
      using System.Collections.Generic;
      using System.Text;
      using System.Collections;
      using System.Data;
       
      namespace ERPDAL
      {
       public interface IDAL
       {
        /*-------------- 说明 -------------------------------
       //
       // 名称:IDAL
       // 功能描述:
       // 此类由 CommonDAL 类继承,并实现相应的方法
       //本类用于统一接口,接收客户端向服务器发送的请求,都必须经此用 父类实例化子类的对象 进行调用
       //
       // 创建标识:
       //
       //
       //----------------------------------------------------------------*/
       
       //参数说明:
       //sqlType 表示 传入的是 sqlstring 还是 procedure
       //operateType 表示操作的类型(insert 、update、delete)
        //hashTable 表示传入的参数键值对
       //dataSet 表示要更新的记录集
       //strOutMessage 表示要传出由服务器产生,又要返回到客户端的数据
      
       DataSet Select(string sqlType,Hashtable hashTable); //查询返回记录集
       bool UpdateByAdapter(DataSet dataSet, out string strOutMessage); //根据 Adapter 进行增加、修改、删除操作
       bool UpdateByTsql(string operateType, string sqlType, Hashtable hashTable); //根据 Tsql 语句进行增加、删除、修改操作
      
       }
      }


       本人博客的文章大部分来自网络转载,因为时间的关系,没有写明转载出处和作者。所以在些郑重的说明:文章只限交流,版权归作者。谢谢

  • 相关阅读:
    flash编程实例源代码下载
    js4:with,for in语句,windows,location对象的使用
    js3:数据类型,数组,String各个属性,以及字符串表达式用eval计算
    挺喜欢这个网站的
    C#Url传递中文参数时解决方法
    .NET设计模式系列文章《转》
    maven surefire plugin介绍
    spring-boot-maven-plugin 插件的作用
    github提交表情包
    接口管理工具
  • 原文地址:https://www.cnblogs.com/wzg0319/p/1690033.html
Copyright © 2011-2022 走看看