public void ORA_ParamByteTest() { using (var db = OpenDbConnection()) { DropAndCreateTables(db); db.DeleteAll <ParamByteBO>(); var bo1 = new ParamByteBO() { Id = 1, Data = new byte[] { 1, 25, 43, 3, 1, 66, 82, 23, 11, 44, 66, 22, 52, 62, 76, 19, 30, 91, 4 } }; db.InsertParam(bo1); var bo1Check = db.SelectParam <ParamByteBO>(s => s.Id == bo1.Id).Single(); Assert.AreEqual(bo1.Id, bo1Check.Id); Assert.AreEqual(bo1.Data, bo1Check.Data); db.DeleteAll <ParamByteBO>(); } }
public void ORA_ParamByteTest() { using (var db = OpenDbConnection()) { DropAndCreateTables(db); db.DeleteAll<ParamByteBO>(); var bo1 = new ParamByteBO() { Id = 1, Data = new byte[] { 1, 25, 43, 3, 1, 66, 82, 23, 11, 44, 66, 22, 52, 62, 76, 19, 30, 91, 4 } }; db.InsertParam(bo1); var bo1Check = db.SelectParam<ParamByteBO>(s => s.Id == bo1.Id).Single(); Assert.AreEqual(bo1.Id, bo1Check.Id); Assert.AreEqual(bo1.Data, bo1Check.Data); db.DeleteAll<ParamByteBO>(); } }