예제 #1
0
 public static void Delete(EntityData entity)
 {
     using (SingleEntityDAO ydao = new SingleEntityDAO("StampDuty"))
     {
         ydao.DeleteAllRow(entity);
         ydao.DeleteEntity(entity);
     }
 }
예제 #2
0
 private void DeleteOAComputerMaintenance(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("OAComputerMaintenance"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #3
0
파일: RemindDAO.cs 프로젝트: ishui/rms2
 public static void DeleteRemindStrategy(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("RemindStrategy"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #4
0
 public static void DeleteClaimsExpressions(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("ClaimsExpressions"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #5
0
 public static void DeleteDocumentConfig(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("DocumentConfig"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #6
0
 private void DeletePurchaseFlowSelSupplyHistory(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("PurchaseFlowSelSupplyHistory"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #7
0
 public static void DeleteBiddingGradeConsiderDiathesis(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("BiddingGradeConsiderDiathesis"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #8
0
 private void DeleteBiddingPrejudication(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("BiddingPrejudication"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #9
0
파일: ConstructDAO.cs 프로젝트: ishui/rms2
 public static void DeleteConstructAnnualPlan(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("ConstructAnnualPlan"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #10
0
 public static void DeleteTCheckPayment(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("TCheckPayment"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #11
0
 private void DeleteV_BiddingSupplier(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("V_BiddingSupplier"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #12
0
 public static void DeleteGradeDepartmentPercentage(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("GradeDepartmentPercentage"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #13
0
파일: ConstructDAO.cs 프로젝트: ishui/rms2
 public static void DeleteVisualProgress(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("VisualProgress"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #14
0
파일: SalDAO.cs 프로젝트: riyuexing/rms
 public static void DeleteSalBudgetDtl(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("SalBudgetDtl"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #15
0
파일: SubjectDAO.cs 프로젝트: riyuexing/rms
 public static void DeleteSubjectSet(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("SubjectSet"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #16
0
파일: ConstructDAO.cs 프로젝트: ishui/rms2
 public static void DeleteRiskType(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("RiskType"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #17
0
 public static void DeleteWorkFlow_Leave(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("WorkFlow_Leave"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #18
0
 private void DeleteOACachet(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("OACachet"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #19
0
 public void DeleteAttachMent(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("AttachMent"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #20
0
 private void DeleteBidding_SupplierDepartmentIdea(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("Bidding_SupplierDepartmentIdea"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #21
0
파일: ConstructDAO.cs 프로젝트: ishui/rms2
 public static void DeleteGroundWork(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("GroundWork"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #22
0
파일: ProjectDAO.cs 프로젝트: ishui/rms2
 public static void DeleteContractor(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("Contractor"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #23
0
파일: MaterialDAO.cs 프로젝트: ishui/rms2
 public static void DeletePurchaseDetail(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("PurchaseDetail"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #24
0
파일: MaterialDAO.cs 프로젝트: ishui/rms2
 public static void DeleteMaterialCost(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("MaterialCost"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #25
0
 public static void DeleteBiddingDtlAuditing(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("BiddingDtlAuditing"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #26
0
 public static void DeleteV_StyleInfo(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("V_StyleInfo"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #27
0
 private void DeleteTC_OA_BiddingContract(EntityData entity)
 {
     try
     {
         if (this._dao == null)
         {
             using (SingleEntityDAO ydao = new SingleEntityDAO("TC_OA_BiddingContract"))
             {
                 ydao.DeleteAllRow(entity);
                 ydao.DeleteEntity(entity);
             }
         }
         else
         {
             this.dao.EntityName = "TC_OA_BiddingContract";
             this.dao.DeleteAllRow(entity);
             this.dao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #28
0
 private void DeleteGrade(EntityData entity)
 {
     try
     {
         if (this._dao == null)
         {
             using (SingleEntityDAO ydao = new SingleEntityDAO("Grade"))
             {
                 ydao.DeleteAllRow(entity);
                 ydao.DeleteEntity(entity);
             }
         }
         else
         {
             this.dao.EntityName = "Grade";
             this.dao.DeleteAllRow(entity);
             this.dao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
예제 #29
0
 private void DeleteSupplierSurveyOpinion(EntityData entity)
 {
     try
     {
         if (this._dao == null)
         {
             using (SingleEntityDAO ydao = new SingleEntityDAO("SupplierSurveyOpinion"))
             {
                 ydao.DeleteAllRow(entity);
                 ydao.DeleteEntity(entity);
             }
         }
         else
         {
             this.dao.EntityName = "SupplierSurveyOpinion";
             this.dao.DeleteAllRow(entity);
             this.dao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }