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