當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。