Ejemplo n.º 1
0
 /// <summary>
 /// Create a new vwUpcomingEvent object.
 /// </summary>
 /// <param name="eventType">Initial value of the EventType property.</param>
 /// <param name="scheduledDate">Initial value of the ScheduledDate property.</param>
 /// <param name="studentName">Initial value of the StudentName property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static vwUpcomingEvent CreatevwUpcomingEvent(global::System.String eventType, global::System.DateTime scheduledDate, global::System.String studentName, global::System.Int32 userId)
 {
     vwUpcomingEvent vwUpcomingEvent = new vwUpcomingEvent();
     vwUpcomingEvent.EventType = eventType;
     vwUpcomingEvent.ScheduledDate = scheduledDate;
     vwUpcomingEvent.StudentName = studentName;
     vwUpcomingEvent.UserId = userId;
     return vwUpcomingEvent;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the vwUpcomingEvents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovwUpcomingEvents(vwUpcomingEvent vwUpcomingEvent)
 {
     base.AddObject("vwUpcomingEvents", vwUpcomingEvent);
 }