/// <summary> /// Create a new TollingSource object. /// </summary> /// <param name="sourceId">Initial value of the SourceId property.</param> /// <param name="code">Initial value of the Code property.</param> public static TollingSource CreateTollingSource(global::System.Byte sourceId, global::System.String code) { TollingSource tollingSource = new TollingSource(); tollingSource.SourceId = sourceId; tollingSource.Code = code; return(tollingSource); }
/// <summary> /// Deprecated Method for adding a new object to the TollingSources EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTollingSources(TollingSource tollingSource) { base.AddObject("TollingSources", tollingSource); }