コード例 #1
0
        private static void DoInsertUpdate(IDbConnection db)
        {
            db.CreateTable<ParamPassword>(true);

            var row = new ParamPassword { Id = 2, Password = 6 };
            db.Insert(row);

            row.Password = 335;
            db.Update(row);
        }
コード例 #2
0
        private static void DoInsertUpdate(IDbConnection db)
        {
            db.CreateTable <ParamPassword>(true);

            var row = new ParamPassword {
                Id = 2, Password = 6
            };

            db.Insert(row);

            row.Password = 335;
            db.Update(row);
        }
コード例 #3
0
        public void ORA_ReservedNamePassword_Test()
        {
            using (var db = OpenDbConnection())
            {
                DropAndCreateTables(db);

                var row = new ParamPassword {
                    Id = 2, Password = 6
                };
                db.Insert(row);

                row.Password = 335;
                db.Update(row);
            }
        }
コード例 #4
0
        public void ORA_ReservedNamePassword_Test()
        {
            using (var db = OpenDbConnection())
            {
                DropAndCreateTables(db);

                var row = new ParamPassword { Id = 2, Password = 6 };
                db.Insert(row);

                row.Password = 335;
                db.Update(row);
            }
        }