CmisSync.Lib.Database.Database.ContainsLocalFile C# (CSharp) Метод

ContainsLocalFile() публичный Метод

Checks whether the database contains a given item. Local filename is often different from remote document name.
public ContainsLocalFile ( string localPath ) : bool
localPath string
Результат bool
        public bool ContainsLocalFile(string localPath)
        {
            string normalizedLocalPath = RemoveLocalPrefix(localPath);
            Dictionary<string, object> parameters = new Dictionary<string, object>();
            parameters.Add("localPath", normalizedLocalPath);
            return null != ExecuteSQLFunction("SELECT serverSideModificationDate FROM files WHERE localPath=@localPath", parameters);
        }