Exemple #1
0
        public void RemoveDocFromList(Guid docId, Doc document, DocListAttribute attr)
        {
            var repo = TryGetDocRepo(document);

            if (repo != null)
            {
                repo.RemoveDocFromList(docId, document, attr);
            }
        }
Exemple #2
0
        public double?CalcAttrDocListSum(Doc doc, DocListAttribute attr, string sumAttrName)
        {
            var repo = TryGetDocRepo(doc);

            if (repo != null)
            {
                return(repo.CalcAttrDocListSum(doc, attr, sumAttrName));
            }
            return(null);
        }
Exemple #3
0
        public int CalcAttrDocListCount(Doc doc, DocListAttribute attr)
        {
            var repo = TryGetDocRepo(doc);

            if (repo != null)
            {
                return(repo.CalcAttrDocListCount(doc, attr));
            }
            return(0);
        }
Exemple #4
0
 public List <Guid> DocAttrList(out int count, Doc document, DocListAttribute attr, int pageNo, int pageSize, Doc filter = null,
                                Guid?sortAttrId = null)
 {
     return(GetDocRepoDefault(document).DocAttrList(out count, document, attr, pageNo, pageSize, filter, sortAttrId));
 }
Exemple #5
0
 public Doc AddDocToList(Doc doc, Doc document, DocListAttribute attr)
 {
     return(GetDocRepo(document).AddDocToList(doc, document, attr));
 }
Exemple #6
0
 public double?CalcAttrDocListSum(Doc doc, DocListAttribute attr, string sumAttrName)
 {
     throw new NotImplementedException();
 }
Exemple #7
0
 public int CalcAttrDocListCount(Doc doc, DocListAttribute attr)
 {
     throw new NotImplementedException();
 }
Exemple #8
0
 public void RemoveDocFromList(Guid docId, Doc document, DocListAttribute attr)
 {
     throw new NotImplementedException();
 }
Exemple #9
0
 public Doc AddDocToList(Doc doc, Doc document, DocListAttribute attr)
 {
     throw new NotImplementedException();
 }
Exemple #10
0
 public List <Guid> DocAttrList(out int count, Doc document, DocListAttribute attr, int pageNo, int pageSize, Doc filter = null,
                                Guid?sortAttrId = null)
 {
     throw new NotImplementedException();
 }