/// <summary> /// Create a new TollingEvent object. /// </summary> /// <param name="eventId">Initial value of the EventId property.</param> /// <param name="code">Initial value of the Code property.</param> public static TollingEvent CreateTollingEvent(global::System.Byte eventId, global::System.String code) { TollingEvent tollingEvent = new TollingEvent(); tollingEvent.EventId = eventId; tollingEvent.Code = code; return(tollingEvent); }
/// <summary> /// Deprecated Method for adding a new object to the TollingEvents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTollingEvents(TollingEvent tollingEvent) { base.AddObject("TollingEvents", tollingEvent); }