当前位置: 首页>>代码示例>>C#>>正文


C# DB_OPT.SqlProcPar方法代码示例

本文整理汇总了C#中SoMeTech.DataAccess.DB_OPT.SqlProcPar方法的典型用法代码示例。如果您正苦于以下问题:C# DB_OPT.SqlProcPar方法的具体用法?C# DB_OPT.SqlProcPar怎么用?C# DB_OPT.SqlProcPar使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在SoMeTech.DataAccess.DB_OPT的用法示例。


在下文中一共展示了DB_OPT.SqlProcPar方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: SetServiceStream

 public override void SetServiceStream(string path, string BILL_CODE, string userID, string userCompany, string userDepart, string userDate, string serverPK, int operation, out string NewServerPK, DB_OPT dbo)
 {
     OracleParameter[] parameters = new OracleParameter[] { new OracleParameter("path", OracleType.VarChar, 100), new OracleParameter("BILL_CODE", OracleType.VarChar, 100), new OracleParameter("userID", OracleType.VarChar, 100), new OracleParameter("userCompany", OracleType.VarChar, 100), new OracleParameter("userDepart", OracleType.VarChar, 100), new OracleParameter("userDate", OracleType.DateTime), new OracleParameter("serverPK", OracleType.VarChar, 0xff), new OracleParameter("operation", OracleType.Int32, 4), new OracleParameter("NewServerPK", OracleType.VarChar, 100), new OracleParameter("XserverPK", OracleType.VarChar, 100) };
     parameters[0].Value = path;
     parameters[1].Value = BILL_CODE;
     parameters[2].Value = userID;
     parameters[3].Value = userCompany;
     parameters[4].Value = userDepart;
     parameters[5].Value = userDate;
     parameters[6].Value = serverPK;
     parameters[7].Value = operation;
     parameters[8].Direction = ParameterDirection.Output;
     parameters[9].Direction = ParameterDirection.Output;
     dbo.SqlProcPar("gov_tc_proc_serviceStream", parameters);
     NewServerPK = parameters[8].Value.ToString();
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:16,代码来源:UserDal.cs

示例2: GetServiceStream

 public override void GetServiceStream(string path, string userID, string MainServerPK, out string ShowButtonID, out string ButtonShowTxt, out string BoHui_ZhuiHui, out string IsSava_objID, DB_OPT dbo)
 {
     ButtonShowTxt = "";
     OracleParameter[] parameters = new OracleParameter[] { new OracleParameter("path", OracleType.VarChar, 100), new OracleParameter("userID", OracleType.VarChar, 100), new OracleParameter("MainServerPK", OracleType.VarChar, 100), new OracleParameter("ShowButtonID", OracleType.VarChar, 100), new OracleParameter("BoHui_ZhuiHui", OracleType.VarChar, 100), new OracleParameter("XserverPK", OracleType.VarChar, 0xff), new OracleParameter("IsSava_objID", OracleType.VarChar, 0xff) };
     parameters[0].Value = path;
     parameters[1].Value = userID;
     parameters[2].Value = MainServerPK;
     parameters[3].Direction = ParameterDirection.Output;
     parameters[4].Direction = ParameterDirection.Output;
     parameters[5].Direction = ParameterDirection.Output;
     parameters[6].Direction = ParameterDirection.Output;
     dbo.SqlProcPar("pd_tc_Proc_StreamIsShowButton", parameters);
     ShowButtonID = parameters[3].Value.ToString();
     BoHui_ZhuiHui = parameters[4].Value.ToString();
     ButtonShowTxt = parameters[5].Value.ToString();
     IsSava_objID = parameters[6].Value.ToString();
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:17,代码来源:UserDal.cs

示例3: GetUpDownStream

 public override void GetUpDownStream(string path, string serverPK, int operation, out string NewServerPK, DB_OPT dbo)
 {
     OracleParameter[] parameters = new OracleParameter[] { new OracleParameter("path", OracleType.VarChar, 100), new OracleParameter("serverPK", OracleType.VarChar, 100), new OracleParameter("ad_Index", OracleType.Int32, 4), new OracleParameter("NewServerPK", OracleType.VarChar, 100), new OracleParameter("BH_Show", OracleType.Int32, 4) };
     parameters[0].Value = path;
     parameters[1].Value = serverPK;
     parameters[2].Value = operation;
     parameters[3].Direction = ParameterDirection.Output;
     parameters[4].Direction = ParameterDirection.Output;
     dbo.SqlProcPar("GetserviceStream", parameters);
     NewServerPK = parameters[3].Value.ToString();
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:11,代码来源:UserDal.cs

示例4: GetServiceCode

 public override void GetServiceCode(string objID, string path, string userID, out int IsShow, out string showtxt, DB_OPT dbo)
 {
     OracleParameter[] parameters = new OracleParameter[] { new OracleParameter("objID", OracleType.VarChar, 100), new OracleParameter("path", OracleType.VarChar, 100), new OracleParameter("userID", OracleType.VarChar, 100), new OracleParameter("OutpowerCode", OracleType.Int32, 4), new OracleParameter("showtxt", OracleType.VarChar, 100) };
     parameters[0].Value = objID;
     parameters[1].Value = path;
     parameters[2].Value = userID;
     parameters[3].Direction = ParameterDirection.Output;
     parameters[4].Direction = ParameterDirection.Output;
     dbo.SqlProcPar("pd_tc_Proc_IsShowButtonList", parameters);
     IsShow = int.Parse(parameters[3].Value.ToString());
     showtxt = parameters[4].Value.ToString();
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:12,代码来源:UserDal.cs


注:本文中的SoMeTech.DataAccess.DB_OPT.SqlProcPar方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。