예제 #1
0
 public static PropertyTypeList ViewPropertyType(String TypeID)
 {
     try
     {
         Icontext objinter = new BALPropertyType();
         PropertyTypeList Type = (PropertyTypeList)objinter.ViewRecord(Convert.ToInt64(TypeID));
         return Type;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
예제 #2
0
 public static bool UpdatePropertyType(PropertyTypeMaster Type)
 {
     Boolean flag = false;
     try
     {
         Icontext objinter = new BALPropertyType();
         flag = objinter.UpdateRecord(Type);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
예제 #3
0
 public static IEnumerable<DAL.PropertyTypeList> PropertyTypeList()
 {
     try
     {
         Icontext objtext = new BALPropertyType();
         IEnumerable<DAL.PropertyTypeList> listRecord = (IEnumerable<DAL.PropertyTypeList>)objtext.RecordList();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
예제 #4
0
 public static IEnumerable<DAL.PropertyTypeList> PropertyTypeList(String Field, String Value)
 {
     try
     {
         ISearchResult objtext = new BALPropertyType();
         IEnumerable<DAL.PropertyTypeList> listRecord = (IEnumerable<DAL.PropertyTypeList>)objtext.SearchResultList(Field, Value);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
예제 #5
0
 public static PropertyTypeMaster EditPropertyType(String TypeID)
 {
     try
     {
         Icontext objinter = new BALPropertyType();
         PropertyTypeMaster Type = (PropertyTypeMaster)objinter.EditRecord(Convert.ToInt64(TypeID));
         return Type;
     }
     catch (Exception ex)
     {
         throw;
     }
 }