コード例 #1
0
        public List <Work> Select()
        {
            WorkParser workParser    = new WorkParser();
            DataTable  dataTable     = new DataTable();
            string     sqlExpression = "Select *  from Works";

            dataTable = connection.Select(sqlExpression);
            List <Work> works = workParser.Parse(dataTable);

            return(works);
        }
コード例 #2
0
        public List <Implementer> Select()
        {
            ImplementerParser implementersParser = new ImplementerParser();
            DataTable         dataTable          = new DataTable();
            string            sqlExpression      = "Select *  from Implementers";

            dataTable = connection.Select(sqlExpression);
            List <Implementer> implementers = implementersParser.Parse(dataTable);

            return(implementers);
        }