public void SaveBinary(byte[] data) { InvokerExtension.Invoke4(m_driver.Connection, m_driver.SaveBinaryFile, m_dbname, m_folderid, m_filename, data); }
//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); }
public void SaveText(string data) { InvokerExtension.Invoke4(m_driver.Connection, m_driver.SaveTextFile, m_dbname, m_folderid, m_filename, data); }