Esempio n. 1
0
        public void SearchRaw_Simple()
        {
            IrbisConnection connection = Connection.ThrowIfNull("Connection");

            SearchParameters parameters = new SearchParameters
            {
                Database         = "IBIS",
                SearchExpression = "K=A$"
            };

            string[] found = connection.SearchRaw(parameters);
            Write
            (
                string.Join
                (
                    Environment.NewLine,
                    found
                )
            );
        }
Esempio n. 2
0
        public void Search_Raw()
        {
            IrbisConnection connection = Connection
                                         .ThrowIfNull("Connection");

            SearchParameters parameters = new SearchParameters
            {
                Database            = "IBIS",
                SearchExpression    = "T=A$",
                FormatSpecification = "v200^a, ' Привет!'"
            };

            string[] found = connection.SearchRaw(parameters);
            Write
            (
                string.Join
                (
                    Environment.NewLine,
                    found
                )
            );
        }
Esempio n. 3
0
        public void SearchRaw_Sequential()
        {
            IrbisConnection connection = Connection.ThrowIfNull("Connection");

            SearchParameters parameters = new SearchParameters
            {
                Database                = "IBIS",
                SearchExpression        = "K=A$",
                SequentialSpecification = "if v200^a:'A' then '1' else '0' fi",
                FormatSpecification     = "@brief"
            };

            string[] found = connection.SearchRaw(parameters);
            Write
            (
                string.Join
                (
                    Environment.NewLine,
                    found
                )
            );
        }