コード例 #1
0
        /// <summary>
        /// Create a new StatisticTrack object.
        /// </summary>
        /// <param name="trackId">Initial value of the TrackId property.</param>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="startDate">Initial value of the StartDate property.</param>
        /// <param name="calledNumber">Initial value of the CalledNumber property.</param>
        /// <param name="dialedNumber">Initial value of the DialedNumber property.</param>
        public static StatisticTrack CreateStatisticTrack(global::System.Int32 trackId, global::System.Guid userId, global::System.DateTime startDate, global::System.String calledNumber, global::System.String dialedNumber)
        {
            StatisticTrack statisticTrack = new StatisticTrack();

            statisticTrack.TrackId      = trackId;
            statisticTrack.UserId       = userId;
            statisticTrack.StartDate    = startDate;
            statisticTrack.CalledNumber = calledNumber;
            statisticTrack.DialedNumber = dialedNumber;
            return(statisticTrack);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StatisticTracks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStatisticTracks(StatisticTrack statisticTrack)
 {
     base.AddObject("StatisticTracks", statisticTrack);
 }