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


C# DB_OPT.BackIsSelect方法代码示例

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


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

示例1: Exists

 public override int Exists(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("select count(1) from GOV_TC_DB_ZSZXFJ");
     builder.Append(" where pk='" + base.pk + "' ");
     return dbo.BackIsSelect(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:7,代码来源:ZSZXFJDal.cs

示例2: Exists

 public int Exists(string PK, DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("select count(PK) from GOV_TC_DB_SFProExecuteStandard");
     builder.Append(" where PK=:PK");
     OracleParameter[] parameters = new OracleParameter[] { new OracleParameter(":PK", OracleType.Char) };
     parameters[0].Value = PK;
     return dbo.BackIsSelect(builder.ToString(), parameters, "");
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:9,代码来源:SFProExecuteStandardDal.cs

示例3: Exists

 public override int Exists(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("select count(PK) from gov_tc_db_ServicesType");
     builder.Append(" where PK=:PK");
     OracleParameter[] parameters = new OracleParameter[] { new OracleParameter(":PK", OracleType.VarChar) };
     parameters[0].Value = base.PK;
     return dbo.BackIsSelect(builder.ToString(), parameters, "");
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:9,代码来源:ServicesTypeDal.cs

示例4: Exists

 public int Exists(string PK, string tablename, DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("select count(PK) from " + tablename);
     builder.Append(" where PK=:PK");
     OracleParameter[] parameters = new OracleParameter[] { new OracleParameter(":PK", OracleType.Char) };
     parameters[0].Value = PK;
     return dbo.BackIsSelect(builder.ToString(), parameters, "");
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:9,代码来源:LDJGDal.cs

示例5: Exists

 public override int Exists(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     if (base.BH != "")
     {
         builder.Append("select count(PK) from " + base.TableName + " where BH='" + base.BH + "'");
     }
     else
     {
         builder.Append("select count(PK) from " + base.TableName + " where PK='" + base.PK + "'");
     }
     return dbo.BackIsSelect(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:13,代码来源:UsualBookTableDal.cs

示例6: Exists

 public override int Exists(string PowerCode, DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("select count(1) from DB_Menu where PowerCode='" + PowerCode + "'");
     return dbo.BackIsSelect(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:6,代码来源:MenuDal.cs

示例7: Exists

 public override int Exists(string bh, DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("select count(1) from DB_Role where BH='" + bh + "'");
     return dbo.BackIsSelect(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:6,代码来源:RoleDal.cs

示例8: Exists

 public override int Exists(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("select count(1) from GOV_TC_DB_UNITCOUNT where PK='" + base.PK + "'");
     return dbo.BackIsSelect(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:6,代码来源:UnitCountDal.cs

示例9: Exists

 public override int Exists(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("select count(pk_corp) from DB_Company where pk_corp='" + base.pk_corp + "'");
     return dbo.BackIsSelect(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:6,代码来源:CompanyDal.cs

示例10: IsFlowOK

 public static int IsFlowOK(string pk, DB_OPT dbo)
 {
     string strSql = "select Count(PK) from GOV_TC_DB_Operation where rtrim(OperationPK)='" + pk.Trim() + "'";
     return dbo.BackIsSelect(strSql, null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:5,代码来源:BusinessMessDal.cs

示例11: Exists

 public override int Exists(string col, string val, DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("select count(EmployeePK) from DB_Employee where " + col + "='" + val + "'");
     return dbo.BackIsSelect(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:6,代码来源:EmployeeDal.cs

示例12: ExistsByUserPK

 public override int ExistsByUserPK(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("select count(UserPK) from DB_Users where UserPK='" + base.UserPK + "'");
     return dbo.BackIsSelect(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:6,代码来源:UserDal.cs

示例13: Exists

 public override int Exists(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("select count(1) from db_DataRowPowerItem where PK='" + base.PK + "'");
     return dbo.BackIsSelect(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:6,代码来源:DataRowPowerItemDal.cs


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