public ManagedTableForm(BizTableForm bizTableForm) { Id = bizTableForm.Id; Form = bizTableForm; DocumentDefId = bizTableForm.DocumentDefId; AttributeDefId = null; Caption = bizTableForm.Caption; FormId = bizTableForm.FormId; PageSize = bizTableForm.PageSize; PageCount = bizTableForm.PageSize;//1; PageNo = bizTableForm.PageNo; HeaderRowCount = 1; if (bizTableForm.Children != null) { Columns = new List <Column>(); AddColumnChildren(null, Form); } RowDocs = new List <Guid>(); }
public ManagedTableForm(BizTableForm bizTableForm, BizDocumentListForm owner) { Owner = owner; Id = Owner.Id; Form = bizTableForm; AttributeDefId = Owner.AttributeDefId; Caption = Owner.Caption; FormId = bizTableForm.FormId; PageSize = bizTableForm.PageSize; PageCount = bizTableForm.PageSize; PageNo = bizTableForm.PageNo; //PageCount = 1; HeaderRowCount = 1; if (bizTableForm.Children != null) { Columns = new List <Column>(); AddColumnChildren(null, Form); } }
/*public void SetControlData(BizControl control, Doc document) * { * throw new NotImplementedException(); * }*/ // DONE: Вывести создание SqlQueryReader во внешний класс - SqlQueryReaderFactory public List <BizControl> GetTableFormRows(BizTableForm form, List <Guid> docIds) { return(_repositories.First().GetTableFormRows(form, docIds)); }
public List <BizControl> GetTableFormRows(BizTableForm form, List <Guid> docIds) { throw new NotImplementedException(); }