/// <summary> /// Deprecated Method for adding a new object to the EventResources EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventResources(EventResource eventResource) { base.AddObject("EventResources", eventResource); }
/// <summary> /// Create a new EventResource object. /// </summary> /// <param name="resourcePoolGroopID">Initial value of the ResourcePoolGroopID property.</param> /// <param name="iDType">Initial value of the IDType property.</param> /// <param name="eventID">Initial value of the EventID property.</param> public static EventResource CreateEventResource(global::System.Int32 resourcePoolGroopID, global::System.Int32 iDType, global::System.Int32 eventID) { EventResource eventResource = new EventResource(); eventResource.ResourcePoolGroopID = resourcePoolGroopID; eventResource.IDType = iDType; eventResource.EventID = eventID; return eventResource; }