///<summary> ///Get object by Id. ///</summary> public static DO_SaleShop_profits_qyjl_log.UO_SaleShop_profits_qyjl_log GetObjectById(System.Int32 id) { DO_SaleShop_profits_qyjl_log da = new DO_SaleShop_profits_qyjl_log(); DO_SaleShop_profits_qyjl_log.UOList_SaleShop_profits_qyjl_log l = da.GetList(GetConditionsById(id)); return(l.Count > 0 ? l[0] : null); }
///<summary> ///Get object by primary key string. ///</summary> public static DO_SaleShop_profits_qyjl_log.UO_SaleShop_profits_qyjl_log GetObjectByPrimaryKeyString(string primaryKeyString) { DO_SaleShop_profits_qyjl_log da = new DO_SaleShop_profits_qyjl_log(); DO_SaleShop_profits_qyjl_log.UOList_SaleShop_profits_qyjl_log l = da.GetList(GetConditionsByPrimaryKeyString(primaryKeyString)); return(l.Count > 0 ? l[0] : null); }