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