Пример #1
0
        /// <summary>
        /// Create a new SavedEventValue object.
        /// </summary>
        /// <param name="eventTypeID">Initial value of the EventTypeID property.</param>
        /// <param name="userID">Initial value of the UserID property.</param>
        /// <param name="eventTime">Initial value of the EventTime property.</param>
        public static SavedEventValue CreateSavedEventValue(global::System.Byte eventTypeID, global::System.Byte userID, global::System.DateTime eventTime)
        {
            SavedEventValue savedEventValue = new SavedEventValue();

            savedEventValue.EventTypeID = eventTypeID;
            savedEventValue.UserID      = userID;
            savedEventValue.EventTime   = eventTime;
            return(savedEventValue);
        }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SavedEventValues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSavedEventValues(SavedEventValue savedEventValue)
 {
     base.AddObject("SavedEventValues", savedEventValue);
 }