/// <summary> /// Deprecated Method for adding a new object to the BondNotes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBondNotes(BondNote bondNote) { base.AddObject("BondNotes", bondNote); }
/// <summary> /// Create a new BondNote object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="bondsMan">Initial value of the BondsMan property.</param> /// <param name="noteDate">Initial value of the NoteDate property.</param> /// <param name="noteTime">Initial value of the NoteTime property.</param> /// <param name="action">Initial value of the Action property.</param> /// <param name="notes">Initial value of the Notes property.</param> /// <param name="createBy">Initial value of the CreateBy property.</param> /// <param name="createTime">Initial value of the CreateTime property.</param> /// <param name="createOffice">Initial value of the CreateOffice property.</param> /// <param name="modifyBy">Initial value of the ModifyBy property.</param> /// <param name="modifyTime">Initial value of the ModifyTime property.</param> /// <param name="modifyOffice">Initial value of the ModifyOffice property.</param> /// <param name="workSheet_BondNote">Initial value of the WorkSheet_BondNote property.</param> public static BondNote CreateBondNote(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String bondsMan, global::System.String noteDate, global::System.String noteTime, global::System.String action, global::System.String notes, global::System.String createBy, global::System.DateTime createTime, global::System.String createOffice, global::System.String modifyBy, global::System.DateTime modifyTime, global::System.String modifyOffice, global::System.Int32 workSheet_BondNote) { BondNote bondNote = new BondNote(); bondNote.Id = id; bondNote.RowVersion = rowVersion; bondNote.BondsMan = bondsMan; bondNote.NoteDate = noteDate; bondNote.NoteTime = noteTime; bondNote.Action = action; bondNote.Notes = notes; bondNote.CreateBy = createBy; bondNote.CreateTime = createTime; bondNote.CreateOffice = createOffice; bondNote.ModifyBy = modifyBy; bondNote.ModifyTime = modifyTime; bondNote.ModifyOffice = modifyOffice; bondNote.WorkSheet_BondNote = workSheet_BondNote; return bondNote; }