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


C# DB_OPT.ExecutionIsSucess方法代码示例

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


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

示例1: TaxFee

 public int TaxFee(string mainTableName, string mainPK, string tableName, string PK, string executeMan, string computerIP, int step, string riticize, decimal money1, decimal money2, decimal money3, DB_OPT dbo)
 {
     string strSql = "update " + tableName + " set Sign='1', ExecuteMan='" + executeMan + "', ComputerIP='" + computerIP + "', ExecuteDate='" + DateTime.Now.ToShortDateString() + "', Riticize='" + riticize + "', Money1=" + money1.ToString() + ", Money2=" + money2.ToString() + ", Money3=" + money3.ToString() + " where PK='" + PK + "'";
     dbo.ExecutionIsSucess(strSql, null);
     string[] strArray = new string[] { "update ", mainTableName, " set Step='", (step + 1).ToString(), "' where PK='", mainPK, "'" };
     strSql = string.Concat(strArray);
     return dbo.ExecutionIsSucess(strSql, null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:8,代码来源:UsualServices.cs

示例2: Delete

 public override int Delete(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("delete from DB_Menu ");
     builder.Append(" where MemuPK='" + base.MemuPK + "'");
     return dbo.ExecutionIsSucess(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:7,代码来源:MenuDal.cs

示例3: Delete

 public int Delete(string PK, DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("delete GOV_TC_DB_OprateToInformation ");
     builder.Append(" where PK='" + PK + "' ");
     return dbo.ExecutionIsSucess(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:7,代码来源:OprateToInformationDal.cs

示例4: Add

 public override int Add(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("insert into DB_Menu(");
     builder.Append("MenuBH,MenuName,PageUrl,ImgUrl,FatherPK,IsHasBaby,Grade,PKPath,IsShow,PowerCode,InsertPC,UpdatePC,DeletePC,PrintPC,OpenType,IsCheckPower,VisitPoint,MenuType,OrderBy,Discription,pk_corp");
     builder.Append(")");
     builder.Append(" values (");
     builder.Append("'" + base.MenuBH + "',");
     builder.Append("'" + base.MenuName + "',");
     builder.Append("'" + base.PageUrl + "',");
     builder.Append("'" + base.ImgUrl + "',");
     builder.Append("'" + base.FatherPK + "',");
     builder.Append("'" + base.IsHasBaby + "',");
     builder.Append(base.Grade + ",");
     builder.Append("'" + base.PKPath + "',");
     builder.Append("'" + base.IsShow + "',");
     builder.Append("'" + base.PowerCode + "',");
     builder.Append("'" + base.InsertPC + "',");
     builder.Append("'" + base.UpdatePC + "',");
     builder.Append("'" + base.DeletePC + "',");
     builder.Append("'" + base.PrintPC + "',");
     builder.Append("'" + base.OpenType + "',");
     builder.Append("'" + base.IsCheckPower + "',");
     builder.Append(base.VisitPoint + ",");
     builder.Append("'" + base.MenuType + "',");
     builder.Append(base.OrderBy + ",");
     builder.Append("'" + base.Discription + "',");
     builder.Append("'" + base.pk_corp + "'");
     builder.Append(")");
     return dbo.ExecutionIsSucess(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:31,代码来源:MenuDal.cs

示例5: Delete

 public override void Delete(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("delete from DB_Bank ");
     builder.Append(" where BankPK='" + base.BankPK + "'");
     dbo.ExecutionIsSucess(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:7,代码来源:BankDal.cs

示例6: Add

 public override int Add(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("insert into gov_tc_db_ServicesRegister(");
     builder.Append("ServiceTypePK,Name,Path,ClassName,ContParameters,IfTwoCont,Method,IfTwoMet,Parameters,Discription,GetServiceType,StartSign,InTime,OutTime,FatherPK,IsHasBaby,Grade,PKPath,MaxNum)");
     builder.Append(" values (");
     builder.Append(":ServiceTypePK,:Name,:Path,:ClassName,:ContParameters,:IfTwoCont,:Method,:IfTwoMet,:Parameters,:Discription,:GetServiceType,:StartSign,:InTime,:OutTime,:FatherPK,:IsHasBaby,:Grade,:PKPath,:MaxNum)");
     OracleParameter[] parameters = new OracleParameter[] {
         new OracleParameter(":ServiceTypePK", OracleType.Char, 40), new OracleParameter(":Name", OracleType.VarChar, 40), new OracleParameter(":Path", OracleType.VarChar, 0xff), new OracleParameter(":ClassName", OracleType.VarChar, 40), new OracleParameter(":ContParameters", OracleType.VarChar, 0xff), new OracleParameter(":IfTwoCont", OracleType.Char, 1), new OracleParameter(":Method", OracleType.VarChar, 40), new OracleParameter(":IfTwoMet", OracleType.Char, 1), new OracleParameter(":Parameters", OracleType.VarChar, 0xff), new OracleParameter(":Discription", OracleType.VarChar, 0xff), new OracleParameter(":GetServiceType", OracleType.VarChar, 1), new OracleParameter(":StartSign", OracleType.VarChar, 1), new OracleParameter(":InTime", OracleType.DateTime, 40), new OracleParameter(":OutTime", OracleType.DateTime, 40), new OracleParameter(":FatherPK", OracleType.VarChar, 40), new OracleParameter(":IsHasBaby", OracleType.Char, 1),
         new OracleParameter(":Grade", OracleType.Int32, 4), new OracleParameter(":PKPath", OracleType.Clob), new OracleParameter(":MaxNum", OracleType.Int32, 4)
      };
     parameters[0].Value = base.ServiceTypePK;
     parameters[1].Value = base.Name;
     parameters[2].Value = base.Path;
     parameters[3].Value = base.ClassName;
     parameters[4].Value = base.ContParameters;
     parameters[5].Value = base.IfTwoCont;
     parameters[6].Value = base.Method;
     parameters[7].Value = base.IfTwoMet;
     parameters[8].Value = base.Parameters;
     parameters[9].Value = base.Discription;
     parameters[10].Value = base.GetServiceType;
     parameters[11].Value = base.StartSign;
     parameters[12].Value = base.InTime;
     parameters[13].Value = base.OutTime;
     parameters[14].Value = base.FatherPK;
     parameters[15].Value = base.IsHasBaby;
     parameters[0x10].Value = base.Grade;
     parameters[0x11].Value = base.PKPath;
     parameters[0x12].Value = base.MaxNum;
     return dbo.ExecutionIsSucess(builder.ToString(), parameters, "");
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:32,代码来源:ServicesRegisterDal.cs

示例7: Delete

 public override int Delete(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("delete from GOV_TC_DB_UNITCOUNT ");
     builder.Append(" where PK = '" + base.PK + "' or PKPath like '%" + base.PK + "%'");
     return dbo.ExecutionIsSucess(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:7,代码来源:UnitCountDal.cs

示例8: Delete

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

示例9: Delete

 public override int Delete(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("delete DB_OPERATIONLOG ");
     builder.Append(" where pk='" + base.pk + "' ");
     return dbo.ExecutionIsSucess(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:7,代码来源:OperationLogDal.cs

示例10: Delete

 public override int Delete(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("delete DataRowPower ");
     builder.Append(" where PK='" + base.PK + "'");
     return dbo.ExecutionIsSucess(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:7,代码来源:DataRowPowerDal.cs

示例11: Add

 public override int Add(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("insert into gov_tc_db_ServicesConnection(");
     builder.Append("OperationPK,ServicePK,Name,ServiceStep,CompanyPK,BranchPK,ConnectionTypePK,FatherPK,ConnectionPath,Grade,IsHasBaby,TopLevelConnectionPK,IfTax,IfFee,IfLast,Memo)");
     builder.Append(" values (");
     builder.Append(":OperationPK,:ServicePK,:Name,:ServiceStep,:CompanyPK,:BranchPK,:ConnectionTypePK,:FatherPK,:ConnectionPath,:Grade,:IsHasBaby,:TopLevelConnectionPK,:IfTax,:IfFee,:IfLast,:Memo)");
     OracleParameter[] parameters = new OracleParameter[] { new OracleParameter(":OperationPK", OracleType.VarChar, 40), new OracleParameter(":ServicePK", OracleType.VarChar, 40), new OracleParameter(":Name", OracleType.VarChar, 100), new OracleParameter(":ServiceStep", OracleType.Int32, 4), new OracleParameter(":CompanyPK", OracleType.VarChar, 40), new OracleParameter(":BranchPK", OracleType.VarChar, 40), new OracleParameter(":ConnectionTypePK", OracleType.VarChar, 40), new OracleParameter(":FatherPK", OracleType.VarChar, 40), new OracleParameter(":ConnectionPath", OracleType.VarChar, 0xff), new OracleParameter(":Grade", OracleType.Int32, 4), new OracleParameter(":IsHasBaby", OracleType.Char, 1), new OracleParameter(":TopLevelConnectionPK", OracleType.VarChar, 40), new OracleParameter(":IfTax", OracleType.Char, 1), new OracleParameter(":IfFee", OracleType.Char, 1), new OracleParameter(":IfLast", OracleType.Char, 1), new OracleParameter(":Memo", OracleType.VarChar, 0xff) };
     parameters[0].Value = base.OperationPK;
     parameters[1].Value = base.ServicePK;
     parameters[2].Value = base.Name;
     parameters[3].Value = base.ServiceStep;
     parameters[4].Value = base.CompanyPK;
     parameters[5].Value = base.BranchPK;
     parameters[6].Value = base.ConnectionTypePK;
     parameters[7].Value = base.FatherPK;
     parameters[8].Value = base.ConnectionPath;
     parameters[9].Value = base.Grade;
     parameters[10].Value = base.IsHasBaby;
     parameters[11].Value = base.TopLevelConnectionPK;
     parameters[12].Value = base.IfTax;
     parameters[13].Value = base.IfFee;
     parameters[14].Value = base.IfLast;
     parameters[15].Value = base.Memo;
     return dbo.ExecutionIsSucess(builder.ToString(), parameters, "");
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:26,代码来源:ServicesConnectionDal.cs

示例12: Delete

 public int Delete(string PK, DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("delete from GOV_TC_DB_SFZSZXFJ ");
     builder.Append(" where PK=" + PK);
     return dbo.ExecutionIsSucess(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:7,代码来源:SFZSZXFJDal.cs

示例13: Add

 public override int Add(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("insert into DB_Role(");
     builder.Append("BH,Name,Power,DataPower,RowPower,ServicesPower,CompanyPower,Discription,IsUserPower,FatherPK,IsHasBaby,Grade,PKPath,BranchPK,pk_corp");
     builder.Append(")");
     builder.Append(" values (");
     builder.Append("'" + base.BH + "',");
     builder.Append("'" + base.Name + "',");
     builder.Append("'" + base.Power + "',");
     builder.Append("'" + base.DataPower + "',");
     builder.Append("'" + base.RowPower + "',");
     builder.Append("'" + base.ServicesPower + "',");
     builder.Append("'" + base.CompanyPower + "',");
     builder.Append("'" + base.Discription + "',");
     builder.Append("'" + base.IsUserPower + "',");
     builder.Append("'" + base.FatherPK + "',");
     builder.Append("'" + base.IsHasBaby + "',");
     builder.Append(base.Grade + ",");
     builder.Append("'" + base.PKPath + "',");
     builder.Append("'" + base.BranchPK + "',");
     builder.Append("'" + base.pk_corp + "'");
     builder.Append(")");
     return dbo.ExecutionIsSucess(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:25,代码来源:RoleDal.cs

示例14: Delete

 public override int Delete(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("delete 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.ExecutionIsSucess(builder.ToString(), parameters, "");
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:9,代码来源:ServicesTypeDal.cs

示例15: Update

 public override int Update(DB_OPT dbo)
 {
     StringBuilder builder = new StringBuilder();
     builder.Append("update GOV_TC_DB_SFType set ");
     builder.Append("pk_corp='" + base.pk_corp + "',");
     builder.Append("Name='" + base.Name + "',");
     builder.Append("Discription='" + base.Discription + "'");
     builder.Append(" where PK='" + base.PK + "' ");
     return dbo.ExecutionIsSucess(builder.ToString(), null);
 }
开发者ID:SoMeTech,项目名称:SoMeRegulatory,代码行数:10,代码来源:SFTypeDal.cs


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