/// <summary> /// Create a new EventScore object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="score">Initial value of the Score property.</param> /// <param name="rank">Initial value of the Rank property.</param> /// <param name="eventScore_EventSlice">Initial value of the EventScore_EventSlice property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static EventScore CreateEventScore(global::System.Int32 id, global::System.Int32 score, global::System.Int32 rank, global::System.Int32 eventScore_EventSlice, global::System.Byte[] rowVersion) { EventScore eventScore = new EventScore(); eventScore.Id = id; eventScore.Score = score; eventScore.Rank = rank; eventScore.EventScore_EventSlice = eventScore_EventSlice; eventScore.RowVersion = rowVersion; return(eventScore); }
/// <summary> /// Create a new EventScore object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="score">Initial value of the Score property.</param> /// <param name="rank">Initial value of the Rank property.</param> /// <param name="eventScore_EventSlice">Initial value of the EventScore_EventSlice property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static EventScore CreateEventScore(global::System.Int32 id, global::System.Int32 score, global::System.Int32 rank, global::System.Int32 eventScore_EventSlice, global::System.Byte[] rowVersion) { EventScore eventScore = new EventScore(); eventScore.Id = id; eventScore.Score = score; eventScore.Rank = rank; eventScore.EventScore_EventSlice = eventScore_EventSlice; eventScore.RowVersion = rowVersion; return eventScore; }
/// <summary> /// Deprecated Method for adding a new object to the EventScores EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventScores(EventScore eventScore) { base.AddObject("EventScores", eventScore); }