public Folder GetFirstParent(bool isexternal) { FolderCommandBuilder commandBiulder = new FolderCommandBuilder(); SqlCommand command = commandBiulder.GetFirstParent(isexternal); return(DBManager.GetObject <Folder>(base.ConnectionHandler, command)); }
public IEnumerable <Folder> GetParents(bool isexternal) { FolderCommandBuilder commandBiulder = new FolderCommandBuilder(); var command = commandBiulder.GetParents(isexternal); return(DBManager.GetCollection <Folder>(base.ConnectionHandler, command)); }