コード例 #1
0
        private void InsertUser()
        {
            var user = new User {
                FirstName = "Homer", LastName = "Simpson"
            };

            _daoFactory.GetUserDao().SaveOrUpdate(user);
        }