/// <summary> /// Create a new TollingLetter object. /// </summary> /// <param name="letterId">Initial value of the LetterId property.</param> /// <param name="sourceId">Initial value of the SourceId property.</param> /// <param name="eventId">Initial value of the EventId property.</param> /// <param name="typeId">Initial value of the TypeId property.</param> public static TollingLetter CreateTollingLetter(global::System.Byte letterId, global::System.Byte sourceId, global::System.Byte eventId, global::System.Byte typeId) { TollingLetter tollingLetter = new TollingLetter(); tollingLetter.LetterId = letterId; tollingLetter.SourceId = sourceId; tollingLetter.EventId = eventId; tollingLetter.TypeId = typeId; return(tollingLetter); }
/// <summary> /// Deprecated Method for adding a new object to the TollingLetters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTollingLetters(TollingLetter tollingLetter) { base.AddObject("TollingLetters", tollingLetter); }