public override void write(Object obj1, BOutput bout1, long version) { ReportC obj = (ReportC)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnId); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnText); if (version >= 900000016000001L) { // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnExtra3); } }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; ReportC obj = (ReportC)(obj1 != null ? obj1 : bin.onObjectCreated(new ReportC())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.lnId = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnText = bbuf.getInt(); if (version >= 900000016000001L) { // checkpoint byps.gen.cs.PrintContext:449 obj.lnExtra3 = bbuf.getInt(); } return(obj); }
public ReportC(ReportC rhs) { this.lnIdValue = rhs.lnIdValue; this.lnTextValue = rhs.lnTextValue; this.lnExtra3Value = rhs.lnExtra3Value; }