public int UpdateProductId(Guid photoId, Guid productId) { var re = (int)db.pb_Photo_UpdateProductId( photoId, productId).Single(); return(re); }