Beispiel #1
0
        public Client Select(string id)
        {
            RowMapper <Client>    rowMapper = RowMapper;
            ActiveRecord <Client> dao       = new ActiveRecord <Client>("User", rowMapper);

            return(dao.Select(id));
        }
Beispiel #2
0
        public void Insert(Client client)
        {
            RowMapper <Client>    rowMapper = RowMapper;
            ActiveRecord <Client> dao       = new ActiveRecord <Client>("User", rowMapper);

            dao.Insert(client);
        }