public static RegulatorFacilityQueryArguments Parse(NameValueCollection arguments)
        {
            RegulatorFacilityQueryArguments args = new RegulatorFacilityQueryArguments();

            ParseTo(arguments, args);
            return(args);
        }
        public static void ParseTo(NameValueCollection arguments, RegulatorFacilityQueryArguments args)
        {
            arguments           = arguments.ToLowercaseKey();
            args.CreatedOnStart = arguments.GetValueLowercaseKey <DateTime?>(CreatedOnStart_Key, null);
            args.CreatedOnEnd   = arguments.GetValueLowercaseKey <DateTime?>(CreatedOnEnd_Key, null);

            args.Street = arguments.GetValueLowercaseKey <string>(Street_Key, null);
            args.City   = arguments.GetValueLowercaseKey <string>(City_Key, null);
            args.ZIP    = arguments.GetValueLowercaseKey <string>(ZIP_Key, null);

            args.RegulatorCode    = arguments.GetValueLowercaseKey <int>(RegulatorCode_Key, 0);
            args.CERSID           = arguments.GetValueLowercaseKey <int?>(CERSID_Key, null);
            args.OrganizationCode = arguments.GetValueLowercaseKey <int?>(OrganizationCode_Key, null);
        }