コード例 #1
0
ファイル: Service1.svc.cs プロジェクト: DrobotDenya/BaldaGame
        public Client Select(string id)
        {
            RowMapper <Client>    rowMapper = RowMapper;
            ActiveRecord <Client> dao       = new ActiveRecord <Client>("User", rowMapper);

            return(dao.Select(id));
        }
コード例 #2
0
ファイル: Service1.svc.cs プロジェクト: DrobotDenya/BaldaGame
        public void Insert(Client client)
        {
            RowMapper <Client>    rowMapper = RowMapper;
            ActiveRecord <Client> dao       = new ActiveRecord <Client>("User", rowMapper);

            dao.Insert(client);
        }