コード例 #1
0
ファイル: CPModel.Designer.cs プロジェクト: simoncwu/CAccess
        /// <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);
        }
コード例 #2
0
ファイル: CPModel.Designer.cs プロジェクト: simoncwu/CAccess
 /// <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);
 }