예제 #1
0
 public static PropertyLevelList ViewPropertyLevel(String LevelID)
 {
     try
     {
         Icontext objinter = new BALPropertyLevel();
         PropertyLevelList Type = (PropertyLevelList)objinter.ViewRecord(Convert.ToInt64(LevelID));
         return Type;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
예제 #2
0
 public static bool UpdatePropertyLevel(PropertyLevelMaster Level)
 {
     Boolean flag = false;
     try
     {
         Icontext objinter = new BALPropertyLevel();
         flag = objinter.UpdateRecord(Level);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
예제 #3
0
 public static IEnumerable<DAL.PropertyLevelList> PropertyLevelList()
 {
     try
     {
         Icontext objtext = new BALPropertyLevel();
         IEnumerable<DAL.PropertyLevelList> listRecord = (IEnumerable<DAL.PropertyLevelList>)objtext.RecordList();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
예제 #4
0
 public static IEnumerable<DAL.PropertyLevelList> PropertyLevelList(String Field, String Value)
 {
     try
     {
         ISearchResult objtext = new BALPropertyLevel();
         IEnumerable<DAL.PropertyLevelList> listRecord = (IEnumerable<DAL.PropertyLevelList>)objtext.SearchResultList(Field, Value);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
예제 #5
0
 public static PropertyLevelMaster EditPropertyLevel(String LevelID)
 {
     try
     {
         Icontext objinter = new BALPropertyLevel();
         PropertyLevelMaster Level = (PropertyLevelMaster)objinter.EditRecord(Convert.ToInt64(LevelID));
         return Level;
     }
     catch (Exception ex)
     {
         throw;
     }
 }