Example #1
0
        // select ////////////////////////////////////////////

//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: public java.util.List<?> selectList(String statement, Object parameter)
        public override IList <object> selectList(string statement, object parameter)
        {
            statement = dbSqlSessionFactory.mapStatement(statement);
            IList <object> resultList = sqlSession.selectList(statement, parameter);

            foreach (object @object in resultList)
            {
                fireEntityLoaded(@object);
            }
            return(resultList);
        }
Example #2
0
 public virtual IList <E> selectList <E>(string statement)
 {
     return(wrappedSession.selectList(statement));
 }