buildDeleteFolderQuery() 개인적인 메소드

private buildDeleteFolderQuery ( Int32 folderId ) : OracleQuery
folderId System.Int32
리턴 OracleQuery
예제 #1
0
        public void testDeleteFolderSql()
        {
            FolderDao dao = new FolderDao(new MdoOracleConnection(new DataSource() { ConnectionString = "MyCxnString" }));
            OracleQuery result = dao.buildDeleteFolderQuery(1);

            Assert.IsNotNull(result);
            Assert.AreEqual("DELETE FROM SMS.FOLDER WHERE FOLDER_ID=:folderId", result.Command.CommandText);
        }
예제 #2
0
        public void testDeleteFolderSql()
        {
            FolderDao dao = new FolderDao(new MdoOracleConnection(new DataSource()
            {
                ConnectionString = "MyCxnString"
            }));
            OracleQuery result = dao.buildDeleteFolderQuery(1);

            Assert.IsNotNull(result);
            Assert.AreEqual("DELETE FROM SMS.FOLDER WHERE FOLDER_ID=:folderId", result.Command.CommandText);
        }