コード例 #1
0
 public bool SameAs(XRoadService service)
 {
     return(XRoadInstance.Equals(service.XRoadInstance) &&
            MemberClass.Equals(service.MemberClass) &&
            MemberCode.Equals(service.MemberCode) &&
            ServiceCode.Equals(service.ServiceCode) &&
            string.Equals(SubsystemCode, service.SubsystemCode) &&
            string.Equals(ServiceVersion, service.ServiceVersion));
 }
コード例 #2
0
        private string GetWhere()
        {
            string where = "";
            string query = Request.Url.Query;

            if ((!MemberName.Equals("")) || MemberName != null)
            {
                where += "&MemberName=" + BLL.Util.EscapeString(MemberName);
            }
            if ((!MemberCode.Equals("")) || MemberCode != null)
            {
                where += "&MemberCode=" + BLL.Util.EscapeString(MemberCode);
            }
            if ((!CustId.Equals("")) || CustId != null)
            {
                where += "&CustId=" + BLL.Util.EscapeString(CustId);
            }
            where += "&nmc=1&random=" + (new Random()).Next().ToString();
            return(where);
        }