Exemplo n.º 1
0
 public static void Delete(EntityData entity)
 {
     using (SingleEntityDAO ydao = new SingleEntityDAO("StampDuty"))
     {
         ydao.DeleteAllRow(entity);
         ydao.DeleteEntity(entity);
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 3
0
 public static void DeleteRemindStrategy(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("RemindStrategy"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 9
0
 public static void DeleteConstructAnnualPlan(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("ConstructAnnualPlan"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 13
0
 public static void DeleteVisualProgress(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("VisualProgress"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 14
0
 public static void DeleteSalBudgetDtl(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("SalBudgetDtl"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 15
0
 public static void DeleteSubjectSet(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("SubjectSet"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 16
0
 public static void DeleteRiskType(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("RiskType"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 21
0
 public static void DeleteGroundWork(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("GroundWork"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 22
0
 public static void DeleteContractor(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("Contractor"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 23
0
 public static void DeletePurchaseDetail(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("PurchaseDetail"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 24
0
 public static void DeleteMaterialCost(EntityData entity)
 {
     try
     {
         using (SingleEntityDAO ydao = new SingleEntityDAO("MaterialCost"))
         {
             ydao.DeleteAllRow(entity);
             ydao.DeleteEntity(entity);
         }
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }