public XtraReport LoadReport(IObjectSpace objectSpace) { XafReport result = new XafReport(); result.ObjectSpace = objectSpace; XafReportSerializationHelper.LoadReport(this, result); return(result); }
public void SaveReport(XtraReport report) { XafReport xafReport = report as XafReport; if (xafReport == null) { throw new ArgumentException("XafReport is expected", "report"); } XafReportSerializationHelper.SaveReport(this, xafReport); }