Beispiel #1
0
        /// <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);
        }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TollingEvents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTollingEvents(TollingEvent tollingEvent)
 {
     base.AddObject("TollingEvents", tollingEvent);
 }