public static int QueryMaxIdByOpenId(string openId) { if (string.IsNullOrWhiteSpace(openId)) { throw new ArgumentNullException("openId"); } IWXInteractionInfo factory = WXInteractionInfoFactory.GetFactory(); return(factory.QueryMaxIdByOpenId(openId)); }
public static bool Add(WX_InteractionInfo model) { if (model == null) { throw new ArgumentNullException("model"); } IWXInteractionInfo factory = WXInteractionInfoFactory.GetFactory(); return(factory.Add(model)); }