Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public static void Add(EntityData entity)
 {
     using (SingleEntityDAO ydao = new SingleEntityDAO("StampDuty"))
     {
         ydao.InsertEntity(entity);
     }
 }
Exemplo n.º 3
0
 private void InsertOAComputerMaintenance(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("OAComputerMaintenance"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 4
0
 public static void InsertRiskType(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("RiskType"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 5
0
 public static void InsertConstructProgressStep(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("ConstructProgressStep"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 6
0
 public static void InsertSubjectSet(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("SubjectSet"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 7
0
 private void InsertBidding_SupplierDepartmentIdea(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("Bidding_SupplierDepartmentIdea"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 8
0
 public static void InsertBiddingLog(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("BiddingLog"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 9
0
 public static void InsertSupplierLinkman(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("SupplierLinkman"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 10
0
 private void InsertSendMsg(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("SendMsg"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 11
0
 public static void InsertContractor(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("Contractor"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 12
0
 public static void InsertBiddingGradeConsiderDiathesis(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("BiddingGradeConsiderDiathesis"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 13
0
 public static void InsertRemindStrategy(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("RemindStrategy"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 14
0
 public static void InsertNoticeAttachMent(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("NoticeAttachMent"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 15
0
 public static void InsertEnquiryDetail(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("EnquiryDetail"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 16
0
 private void InsertV_BiddingSupplier(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("V_BiddingSupplier"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 17
0
 public static void InsertMaterialCost(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("MaterialCost"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 18
0
 public static void InsertTCheckPayment(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("TCheckPayment"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 19
0
 public static void InsertGradeDepartmentPercentage(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("GradeDepartmentPercentage"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 20
0
 public static void InsertPurchaseBiddingBook(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("PurchaseBiddingBook"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 21
0
 public static void InsertWorkFlow_Leave(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("WorkFlow_Leave"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 22
0
 public static void InsertPurchaseFlowSelSupply(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("PurchaseFlowSelSupply"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 23
0
 private void InsertOACachet(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("OACachet"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 24
0
 public static void InsertPBSTypeLayout(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("PBSTypeLayout"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 25
0
 public static void InsertConstructAnnualPlan(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("ConstructAnnualPlan"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 26
0
 public static void InsertUserDesktop(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("UserDesktop"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 27
0
 public static void InsertGroundWork(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("GroundWork"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 28
0
 private void InsertBiddingPrejudication(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("BiddingPrejudication"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 29
0
 public static void InsertVisualProgress(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("VisualProgress"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 30
0
 public static void InsertClaimsExpressions(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("ClaimsExpressions"))
         {
             ydao.InsertEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }