Exemple #1
0
 /// <summary>
 /// Create a new Event object.
 /// </summary>
 /// <param name="eventID">Initial value of the EventID property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="eventName">Initial value of the EventName property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="createdByFullName">Initial value of the CreatedByFullName property.</param>
 /// <param name="lastUpdatedDate">Initial value of the LastUpdatedDate property.</param>
 /// <param name="lastUpdatedByFullName">Initial value of the LastUpdatedByFullName property.</param>
 /// <param name="eventAchieved">Initial value of the EventAchieved property.</param>
 /// <param name="dateType">Initial value of the DateType property.</param>
 /// <param name="privateEvent">Initial value of the PrivateEvent property.</param>
 /// <param name="mustDo">Initial value of the MustDo property.</param>
 /// <param name="timezoneID">Initial value of the TimezoneID property.</param>
 /// <param name="eventGUID">Initial value of the EventGUID property.</param>
 /// <param name="showOnDefaultPage">Initial value of the ShowOnDefaultPage property.</param>
 public static Event CreateEvent(global::System.Int32 eventID, global::System.Int32 userID, global::System.String eventName, global::System.Boolean deleted, global::System.DateTime createdDate, global::System.String createdByFullName, global::System.DateTime lastUpdatedDate, global::System.String lastUpdatedByFullName, global::System.Boolean eventAchieved, global::System.String dateType, global::System.Boolean privateEvent, global::System.Boolean mustDo, global::System.Int32 timezoneID, global::System.Guid eventGUID, global::System.Boolean showOnDefaultPage)
 {
     Event @event = new Event();
     @event.EventID = eventID;
     @event.UserID = userID;
     @event.EventName = eventName;
     @event.Deleted = deleted;
     @event.CreatedDate = createdDate;
     @event.CreatedByFullName = createdByFullName;
     @event.LastUpdatedDate = lastUpdatedDate;
     @event.LastUpdatedByFullName = lastUpdatedByFullName;
     @event.EventAchieved = eventAchieved;
     @event.DateType = dateType;
     @event.PrivateEvent = privateEvent;
     @event.MustDo = mustDo;
     @event.TimezoneID = timezoneID;
     @event.EventGUID = eventGUID;
     @event.ShowOnDefaultPage = showOnDefaultPage;
     return @event;
 }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Events EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEvents(Event @event)
 {
     base.AddObject("Events", @event);
 }