Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EventCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventCategories(EventCategory eventCategory)
 {
     base.AddObject("EventCategories", eventCategory);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new EventCategory object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="eventID">Initial value of the EventID property.</param>
 /// <param name="categoryID">Initial value of the CategoryID property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 public static EventCategory CreateEventCategory(global::System.Int64 id, global::System.Int64 eventID, global::System.Int64 categoryID, global::System.DateTime createDate)
 {
     EventCategory eventCategory = new EventCategory();
     eventCategory.ID = id;
     eventCategory.EventID = eventID;
     eventCategory.CategoryID = categoryID;
     eventCategory.CreateDate = createDate;
     return eventCategory;
 }