예제 #1
0
 public void SaveBinary(byte[] data)
 {
     InvokerExtension.Invoke4(m_driver.Connection, m_driver.SaveBinaryFile, m_dbname, m_folderid, m_filename, data);
 }
예제 #2
0
        //public bool IsInFolder(IVirtualFolder folder)
        //{
        //    if (folder is OnServerFolder)
        //    {
        //        OnServerFolder other = (OnServerFolder)folder;
        //        if (other.m_driver.Connection.SystemConnection.ConnectionString != m_driver.Connection.SystemConnection.ConnectionString) return false;
        //        if (m_dbname != other.m_dbname) return false;
        //        return InvokerExtension.InvokeR3<bool, string, int, int>(m_driver.Connection, m_driver.HasFile, m_dbname, other.m_folderid, m_fileid);
        //    }
        //    return false;
        //}

        public void RenameTo(string newname)
        {
            InvokerExtension.Invoke4(m_driver.Connection, m_driver.RenameFile, m_dbname, m_folderid, m_filename, newname);
        }
예제 #3
0
 public void SaveText(string data)
 {
     InvokerExtension.Invoke4(m_driver.Connection, m_driver.SaveTextFile, m_dbname, m_folderid, m_filename, data);
 }