/// <summary> /// Deprecated Method for adding a new object to the note EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTonote(note note) { base.AddObject("note", note); }
/// <summary> /// Create a new note object. /// </summary> /// <param name="user">Initial value of the user property.</param> /// <param name="text">Initial value of the text property.</param> /// <param name="id">Initial value of the id property.</param> /// <param name="when">Initial value of the when property.</param> public static note Createnote(global::System.String user, global::System.String text, global::System.Int32 id, global::System.DateTime when) { note note = new note(); note.user = user; note.text = text; note.id = id; note.when = when; return note; }