Exemple #1
0
        public Boolean IsExistStore(string openId, string name)
        {
            int i = DBStoreInfo.Count(u => u.OwnnerOpenId == openId && u.Name == name);

            return(i > 0);
        }
Exemple #2
0
 /// <summary>
 /// 根据支付宝的UserId获取商铺
 /// </summary>
 /// <param name="AliPayUserId"></param>
 /// <returns></returns>
 public EStoreInfo Store_GetByAliPayUserId(string AliPayUserId)
 {
     return(DBStoreInfo.Where(s => s.AliPayAccount == AliPayUserId).FirstOrDefault());
 }
Exemple #3
0
        public int StoreCount(string openId)
        {
            int i = DBStoreInfo.Count(u => u.OwnnerOpenId == openId);

            return(i);
        }