コード例 #1
0
        private void ImportUFProjectSingle(string s, SingleEntityDAO dao, EntityData entity)
        {
            string[] m_strSub = s.Replace("\"", "").Split(',');

            if (m_strSub.Length < 2)
            {
                return;
            }

            //为空时,不导
            if ((m_strSub[0].Trim() == "") || (m_strSub[1].Trim() == ""))
            {
                return;
            }

            string code = m_strSub[0].Trim();

            DataRow dr = entity.CurrentTable.NewRow();

            dr["UFProjectCode"] = code;
            dr["UFProjectName"] = m_strSub[1].Trim();

            entity.CurrentTable.Rows.Add(dr);
            dao.InsertEntity(entity);
        }
コード例 #2
0
 public static void Add(EntityData entity)
 {
     using (SingleEntityDAO ydao = new SingleEntityDAO("StampDuty"))
     {
         ydao.InsertEntity(entity);
     }
 }
コード例 #3
0
 private void InsertOAComputerMaintenance(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("OAComputerMaintenance"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #4
0
ファイル: ConstructDAO.cs プロジェクト: ishui/rms2
 public static void InsertRiskType(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("RiskType"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #5
0
ファイル: ConstructDAO.cs プロジェクト: ishui/rms2
 public static void InsertConstructProgressStep(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("ConstructProgressStep"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #6
0
ファイル: SubjectDAO.cs プロジェクト: riyuexing/rms
 public static void InsertSubjectSet(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("SubjectSet"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #7
0
 private void InsertBidding_SupplierDepartmentIdea(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("Bidding_SupplierDepartmentIdea"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #8
0
ファイル: BiddingLog.cs プロジェクト: riyuexing/rms
 public static void InsertBiddingLog(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("BiddingLog"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #9
0
 public static void InsertSupplierLinkman(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("SupplierLinkman"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #10
0
ファイル: SendMsg.cs プロジェクト: riyuexing/rms
 private void InsertSendMsg(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("SendMsg"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #11
0
ファイル: ProjectDAO.cs プロジェクト: ishui/rms2
 public static void InsertContractor(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("Contractor"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #12
0
 public static void InsertBiddingGradeConsiderDiathesis(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("BiddingGradeConsiderDiathesis"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #13
0
ファイル: RemindDAO.cs プロジェクト: ishui/rms2
 public static void InsertRemindStrategy(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("RemindStrategy"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #14
0
ファイル: RemindDAO.cs プロジェクト: ishui/rms2
 public static void InsertNoticeAttachMent(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("NoticeAttachMent"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #15
0
ファイル: MaterialDAO.cs プロジェクト: ishui/rms2
 public static void InsertEnquiryDetail(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("EnquiryDetail"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #16
0
 private void InsertV_BiddingSupplier(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("V_BiddingSupplier"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #17
0
ファイル: MaterialDAO.cs プロジェクト: ishui/rms2
 public static void InsertMaterialCost(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("MaterialCost"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #18
0
 public static void InsertTCheckPayment(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("TCheckPayment"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #19
0
 public static void InsertGradeDepartmentPercentage(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("GradeDepartmentPercentage"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #20
0
ファイル: PurchaseFlowDAO.cs プロジェクト: ishui/rms2
 public static void InsertPurchaseBiddingBook(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("PurchaseBiddingBook"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #21
0
ファイル: WorkFlowApplicatioDAO.cs プロジェクト: ishui/rms2
 public static void InsertWorkFlow_Leave(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("WorkFlow_Leave"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #22
0
ファイル: PurchaseFlowDAO.cs プロジェクト: ishui/rms2
 public static void InsertPurchaseFlowSelSupply(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("PurchaseFlowSelSupply"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #23
0
 private void InsertOACachet(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("OACachet"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #24
0
 public static void InsertPBSTypeLayout(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("PBSTypeLayout"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #25
0
ファイル: ConstructDAO.cs プロジェクト: ishui/rms2
 public static void InsertConstructAnnualPlan(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("ConstructAnnualPlan"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #26
0
 public static void InsertUserDesktop(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("UserDesktop"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #27
0
ファイル: ConstructDAO.cs プロジェクト: ishui/rms2
 public static void InsertGroundWork(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("GroundWork"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #28
0
ファイル: BiddingPrejudication.cs プロジェクト: riyuexing/rms
 private void InsertBiddingPrejudication(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("BiddingPrejudication"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #29
0
ファイル: ConstructDAO.cs プロジェクト: ishui/rms2
 public static void InsertVisualProgress(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("VisualProgress"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
コード例 #30
0
ファイル: ClaimsExpressionsDAO.cs プロジェクト: ishui/rms2
 public static void InsertClaimsExpressions(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("ClaimsExpressions"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }