コード例 #1
0
ファイル: DatabaseModel.Designer.cs プロジェクト: Deiwos3/IMS
 /// <summary>
 /// Deprecated Method for adding a new object to the reminders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToreminders(reminder reminder)
 {
     base.AddObject("reminders", reminder);
 }
コード例 #2
0
ファイル: DatabaseModel.Designer.cs プロジェクト: Deiwos3/IMS
 /// <summary>
 /// Create a new reminder object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="personId">Initial value of the PersonId property.</param>
 /// <param name="subject">Initial value of the Subject property.</param>
 /// <param name="text">Initial value of the Text property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="endDate">Initial value of the EndDate property.</param>
 public static reminder Createreminder(global::System.Int64 id, global::System.Int64 personId, global::System.String subject, global::System.String text, global::System.DateTime date, global::System.DateTime endDate)
 {
     reminder reminder = new reminder();
     reminder.Id = id;
     reminder.PersonId = personId;
     reminder.Subject = subject;
     reminder.Text = text;
     reminder.Date = date;
     reminder.EndDate = endDate;
     return reminder;
 }