コード例 #1
0
        public void CanQueryByPrefix()
        {
            PersistentVariableRepository persistencevariableRepository = new PersistentVariableRepository();

            CmsPersistentVariable[] variableArray = persistencevariableRepository.FetchAllWithNamePrefix("LastPeriodicTaskStartTime_HatCms.Admin");
            Assert.That(variableArray.Length, Is.EqualTo(3));
        }
コード例 #2
0
        } // FetchAll

        public static CmsPersistentVariable[] FetchAllWithNamePrefix(string namePrefix)
        {
            PersistentVariableRepository repository = new PersistentVariableRepository();

            return(repository.FetchAllWithNamePrefix(namePrefix));
        }