示例#1
0
	    public void MappingAdoQuery()
	    {
	        TestObjectQuery testObjectQuery = new TestObjectQuery(dbProvider);
	        IDictionary inParams = new Hashtable();
            inParams.Add("UName", "George");
	        IList testObjectList = testObjectQuery.QueryByNamedParam(inParams);
	        Assert.AreEqual(2, testObjectList.Count);
	    }
        public void MappingAdoQuery()
        {
            TestObjectQuery testObjectQuery = new TestObjectQuery(dbProvider);
            IDictionary     inParams        = new Hashtable();

            inParams.Add("UName", "George");
            IList testObjectList = testObjectQuery.QueryByNamedParam(inParams);

            Assert.AreEqual(2, testObjectList.Count);
        }