Esempio n. 1
0
 public static OwnerList ViewOwnerAsClientRecord(String ownerID)
 {
     try
     {
         IGetRecordView objinter = new BALOwner();
         OwnerList owner = (OwnerList)objinter.GetRecord(ownerID);
         return owner;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Esempio n. 2
0
 public static bool UpdateOwnerField(OwnerMaster owner)
 {
     Boolean flag = false;
     try
     {
         IUpdate objinter = new BALOwner();
         flag = objinter.UpdateRecord(owner);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Esempio n. 3
0
 public static OwnerList ViewOwner(String ownerID)
 {
     try
     {
         Icontext objinter = new BALOwner();
         OwnerList owner = (OwnerList)objinter.ViewRecord(Convert.ToInt64(ownerID));
         return owner;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Esempio n. 4
0
 public static Boolean SaveOwnerAsClient(List<Object> OwnerList)
 {
     Boolean flag = false;
     try
     {
         IListRecordInsert objtext = new BALOwner();
         flag = objtext.AddRecord(OwnerList);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Esempio n. 5
0
 public static IEnumerable<DAL.OwnerList> OwnerList(String Field, String Value)
 {
     try
     {
         ISearchResult objtext = new BALOwner();
         IEnumerable<DAL.OwnerList> listRecord = (IEnumerable<DAL.OwnerList>)objtext.SearchResultList(Field, Value);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Esempio n. 6
0
 public static IEnumerable<DAL.OwnerList> OwnerList()
 {
     try
     {
         Icontext objtext = new BALOwner();
         IEnumerable<DAL.OwnerList> listRecord = (IEnumerable<DAL.OwnerList>)objtext.RecordList();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Esempio n. 7
0
 public static OwnerMaster EditOwnerAsClient(String ownerID)
 {
     try
     {
         IRecordEdit objinter = new BALOwner();
         OwnerMaster owner = (OwnerMaster)objinter.EditRecord(Convert.ToInt64(ownerID));
         return owner;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Esempio n. 8
0
 public static Boolean CreateOwner(OwnerMaster owner)
 {
     Boolean flag = false;
     try
     {
         Icontext objtext = new BALOwner();
         flag = objtext.CreateRecord(owner);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }