public FDPrintTxt() { Report = new TReport(); details = new Details { Instance = this }; }
public IHttpActionResult PutTReport(int id, TReport tReport) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } if (id != tReport.Id) { return(BadRequest()); } db.Entry(tReport).State = EntityState.Modified; try { db.SaveChanges(); } catch (DbUpdateConcurrencyException) { if (!TReportExists(id)) { return(NotFound()); } else { throw; } } return(StatusCode(HttpStatusCode.NoContent)); }
public IHttpActionResult GetTReport(int id) { TReport tReport = db.TReports.Find(id); if (tReport == null) { return(NotFound()); } return(Ok(tReport)); }
public IHttpActionResult PostTReport(TReport tReport) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } db.TReports.Add(tReport); db.SaveChanges(); return(CreatedAtRoute("DefaultApi", new { id = tReport.Id }, tReport)); }
public SavingPassbookTxt() { Report = new TReport(); pageLvlStart = new PageLvlStart { Instance = this }; details = new Details { Instance = this }; pageLvlEnd = new PageLvlEnd { Instance = this }; }
public IHttpActionResult DeleteTReport(int id) { TReport tReport = db.TReports.Find(id); if (tReport == null) { return(NotFound()); } db.TReports.Remove(tReport); db.SaveChanges(); return(Ok(tReport)); }
public ClsStatementViewText() { Report = new TReport(); pageLvlStart = new PageLvlStart { Instance = this }; details = new Details { Instance = this }; pageLvlEnd = new PageLvlEnd { Instance = this }; reportLvlEnd = new ReportLvlEnd { Instance = this }; }
public BalanceSheetReportTxt() { Report = new TReport(); pageLvlStart = new PageLvlStart { Instance = this }; reportLvlStart = new ReportLvlStart { Instance = this }; details = new Details { Instance = this }; pageLvlEnd = new PageLvlEnd { Instance = this }; reportLvlEnd = new ReportLvlEnd { Instance = this }; }
public CutBookTxt() { Report = new TReport(); pageLvlStart = new PageLvlStart { Instance = this }; reportLvlStart = new ReportLvlStart { Instance = this }; details = new Details { Instance = this }; pageLvlEnd = new PageLvlEnd { Instance = this }; reportLvlEnd = new ReportLvlEnd { Instance = this }; }
public AccountStatementTxt() { Report = new TReport(); pageLvlStart = new PageLvlStart { Instance = this }; reportLvlStart = new ReportLvlStart { Instance = this }; details = new Details { Instance = this }; pageLvlEnd = new PageLvlEnd { Instance = this }; reportLvlEnd = new ReportLvlEnd { Instance = this }; }
public DayOpenErrorsTxt() { Report = new TReport(); pageLvlStart = new PageLvlStart { Instance = this }; reportLvlStart = new ReportLvlStart { Instance = this }; details = new Details { Instance = this }; pageLvlEnd = new PageLvlEnd { Instance = this }; reportLvlEnd = new ReportLvlEnd { Instance = this }; }
public ProfitAndLossTxt() { Report = new TReport(); pageLvlStart = new PageLvlStart { Instance = this }; reportLvlStart = new ReportLvlStart { Instance = this }; details = new Details { Instance = this }; pageLvlEnd = new PageLvlEnd { Instance = this }; reportLvlEnd = new ReportLvlEnd { Instance = this }; }
public DayClosedReportTxt() { Report = new TReport(); pageLvlStart = new PageLvlStart { Instance = this }; reportLvlStart = new ReportLvlStart { Instance = this }; details = new Details { Instance = this }; pageLvlEnd = new PageLvlEnd { Instance = this }; reportLvlEnd = new ReportLvlEnd { Instance = this }; }
public OIReportText() { // // TODO: Add constructor logic here // Report = new TReport(); pageLvlStart = new PageLvlStart { Instance = this }; reportLvlStart = new ReportLvlStart { Instance = this }; details = new Details { Instance = this }; pageLvlEnd = new PageLvlEnd { Instance = this }; reportLvlEnd = new ReportLvlEnd { Instance = this }; }
// -------------------------------------------------------------------- // ダミーコンストラクター(Visual Studio・TransitionMessage 用) // -------------------------------------------------------------------- public EditReportWindowViewModel() { Report = new TReport(); }
// ==================================================================== // コンストラクター // ==================================================================== // -------------------------------------------------------------------- // プログラム中で使うべき引数付きコンストラクター // -------------------------------------------------------------------- public EditReportWindowViewModel(TReport report) { Report = report; }