Ejemplo n.º 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);
	    }
Ejemplo n.º 2
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);
        }