public static OwnerList ViewOwnerAsClientRecord(String ownerID) { try { IGetRecordView objinter = new BALOwner(); OwnerList owner = (OwnerList)objinter.GetRecord(ownerID); return owner; } catch (Exception ex) { throw; } }
public static bool UpdateOwnerField(OwnerMaster owner) { Boolean flag = false; try { IUpdate objinter = new BALOwner(); flag = objinter.UpdateRecord(owner); } catch (Exception ex) { throw; } return flag; }
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; } }
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; }
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; } }
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; } }
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; } }
public static Boolean CreateOwner(OwnerMaster owner) { Boolean flag = false; try { Icontext objtext = new BALOwner(); flag = objtext.CreateRecord(owner); } catch (Exception ex) { throw; } return flag; }