public void RemoveDocFromList(Guid docId, Doc document, DocListAttribute attr) { var repo = TryGetDocRepo(document); if (repo != null) { repo.RemoveDocFromList(docId, document, attr); } }
public double?CalcAttrDocListSum(Doc doc, DocListAttribute attr, string sumAttrName) { var repo = TryGetDocRepo(doc); if (repo != null) { return(repo.CalcAttrDocListSum(doc, attr, sumAttrName)); } return(null); }
public int CalcAttrDocListCount(Doc doc, DocListAttribute attr) { var repo = TryGetDocRepo(doc); if (repo != null) { return(repo.CalcAttrDocListCount(doc, attr)); } return(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)); }
public Doc AddDocToList(Doc doc, Doc document, DocListAttribute attr) { return(GetDocRepo(document).AddDocToList(doc, document, attr)); }
public double?CalcAttrDocListSum(Doc doc, DocListAttribute attr, string sumAttrName) { throw new NotImplementedException(); }
public int CalcAttrDocListCount(Doc doc, DocListAttribute attr) { throw new NotImplementedException(); }
public void RemoveDocFromList(Guid docId, Doc document, DocListAttribute attr) { throw new NotImplementedException(); }
public Doc AddDocToList(Doc doc, Doc document, DocListAttribute attr) { throw new NotImplementedException(); }
public List <Guid> DocAttrList(out int count, Doc document, DocListAttribute attr, int pageNo, int pageSize, Doc filter = null, Guid?sortAttrId = null) { throw new NotImplementedException(); }