/// <summary> /// Create a new Note object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="accountId">Initial value of the AccountId property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="createdAt">Initial value of the CreatedAt property.</param> /// <param name="updatedAt">Initial value of the UpdatedAt property.</param> public static Note CreateNote(global::System.Int32 id, global::System.Int32 accountId, global::System.String text, global::System.DateTime createdAt, global::System.DateTime updatedAt) { Note note = new Note(); note.Id = id; note.AccountId = accountId; note.Text = text; note.CreatedAt = createdAt; note.UpdatedAt = updatedAt; return note; }
/// <summary> /// Deprecated Method for adding a new object to the Notes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNotes(Note note) { base.AddObject("Notes", note); }