Ejemplo n.º 1
0
 public decimal Estate_Object_Insert(string p_Estate_Name, decimal p_Estate_Type, string p_Area, decimal p_Status, string p_note, string p_Estate_Code, decimal Building_Id)
 {
     try
     {
         Estate_Object_DA _Estate_Object_DA = new Estate_Object_DA();
         return(_Estate_Object_DA.Estate_Object_Insert(p_Estate_Name, p_Estate_Type, p_Area, p_Status, p_note, p_Estate_Code, Building_Id));
     }
     catch (Exception ex)
     {
         ErrorLog.log.Error(ex.ToString());
         return(-1);
     }
 }
Ejemplo n.º 2
0
 public bool Estate_Object_Update(decimal p_Estate_Id, string p_Estate_Name, decimal p_Estate_Type, string p_Area, decimal p_Status, string p_note)
 {
     try
     {
         Estate_Object_DA _Estate_Object_DA = new Estate_Object_DA();
         return(_Estate_Object_DA.Estate_Object_Update(p_Estate_Id, p_Estate_Name, p_Estate_Type, p_Area, p_Status, p_note));
     }
     catch (Exception ex)
     {
         ErrorLog.log.Error(ex.ToString());
         return(false);
     }
 }
Ejemplo n.º 3
0
 public bool Estate_Object_Delete(decimal p_Estate_Id)
 {
     try
     {
         Estate_Object_DA _Estate_Object_DA = new Estate_Object_DA();
         return(_Estate_Object_DA.Estate_Object_Delete(p_Estate_Id));
     }
     catch (Exception ex)
     {
         ErrorLog.log.Error(ex.ToString());
         return(false);
     }
 }
Ejemplo n.º 4
0
        public byte[] Estate_Object_GetType(decimal p_Estate_Type)
        {
            try
            {
                byte[]           byteReturn;
                Estate_Object_DA _Estate_Object_DA = new Estate_Object_DA();
                DataSet          ds = _Estate_Object_DA.Estate_Object_GetType(p_Estate_Type);

                byteReturn = CompressionHelper.CompressDataSet(ds);
                return(byteReturn);
            }
            catch (Exception ex)
            {
                ErrorLog.log.Error(ex.ToString());
                return(new byte[0]);
            }
        }
Ejemplo n.º 5
0
        public byte[] Estate_Object_Search(string p_Estate_Name, string p_Estate_Type, string p_Status)
        {
            try
            {
                byte[]           byteReturn;
                Estate_Object_DA _Estate_Object_DA = new Estate_Object_DA();
                DataSet          ds = _Estate_Object_DA.Estate_Object_Search(p_Estate_Name, p_Estate_Type, p_Status);

                byteReturn = CompressionHelper.CompressDataSet(ds);
                return(byteReturn);
            }
            catch (Exception ex)
            {
                ErrorLog.log.Error(ex.ToString());
                return(new byte[0]);
            }
        }
Ejemplo n.º 6
0
        public byte[] Check_Exit_EstateInContract(decimal p_Estate_Id)
        {
            try
            {
                byte[]           byteReturn;
                Estate_Object_DA _Estate_Object_DA = new Estate_Object_DA();
                DataSet          ds = _Estate_Object_DA.Check_Exit_EstateInContract(p_Estate_Id);

                byteReturn = CompressionHelper.CompressDataSet(ds);
                return(byteReturn);
            }
            catch (Exception ex)
            {
                ErrorLog.log.Error(ex.ToString());
                return(new byte[0]);
            }
        }