Esempio n. 1
0
 public static bool UpdateProperty(PropertyMaster prop)
 {
     Boolean flag = false;
     try
     {
         Icontext objinter = new BALProperty();
         flag = objinter.UpdateRecord(prop);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Esempio n. 2
0
 public static PropertyList ViewProperty(String propID)
 {
     try
     {
         Icontext objinter = new BALProperty();
         PropertyList prop = (PropertyList)objinter.ViewRecord(Convert.ToInt64(propID));
         return prop;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Esempio n. 3
0
 public static IEnumerable<DAL.PropertyList> UnOccupyPropertyList()
 {
     try
     {
         IListRecord objtext = new BALProperty();
         IEnumerable<DAL.PropertyList> listRecord = (IEnumerable<DAL.PropertyList>)objtext.ListRecord();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Esempio n. 4
0
 public static IEnumerable<DAL.PropertyList> PropertyList(String Field, String Value)
 {
     try
     {
         ISearchResult objtext = new BALProperty();
         IEnumerable<DAL.PropertyList> listRecord = (IEnumerable<DAL.PropertyList>)objtext.SearchResultList(Field, Value);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Esempio n. 5
0
 public static IEnumerable<DAL.PropertyList> PropertyList()
 {
     try
     {
         Icontext objtext = new BALProperty();
         IEnumerable<DAL.PropertyList> listRecord = (IEnumerable<DAL.PropertyList>)objtext.RecordList();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Esempio n. 6
0
 public static PropertyMaster EditProperty(String PropID)
 {
     try
     {
         Icontext objinter = new BALProperty();
         PropertyMaster prop = (PropertyMaster)objinter.EditRecord(Convert.ToInt64(PropID));
         return prop;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Esempio n. 7
0
 public static Boolean CreateProperty(PropertyMaster Prop)
 {
     Boolean flag = false;
     try
     {
         Icontext objtext = new BALProperty();
         flag = objtext.CreateRecord(Prop);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }