/// <summary>
        /// Create a new EventSlice object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="eventSlice_PvPInstance">Initial value of the EventSlice_PvPInstance property.</param>
        /// <param name="sliceNumber">Initial value of the SliceNumber property.</param>
        /// <param name="rowVersion">Initial value of the RowVersion property.</param>
        public static EventSlice CreateEventSlice(global::System.Int32 id, global::System.Int32 eventSlice_PvPInstance, global::System.Int32 sliceNumber, global::System.Byte[] rowVersion)
        {
            EventSlice eventSlice = new EventSlice();

            eventSlice.Id = id;
            eventSlice.EventSlice_PvPInstance = eventSlice_PvPInstance;
            eventSlice.SliceNumber            = sliceNumber;
            eventSlice.RowVersion             = rowVersion;
            return(eventSlice);
        }
 /// <summary>
 /// Create a new EventSlice object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="eventSlice_PvPInstance">Initial value of the EventSlice_PvPInstance property.</param>
 /// <param name="sliceNumber">Initial value of the SliceNumber property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static EventSlice CreateEventSlice(global::System.Int32 id, global::System.Int32 eventSlice_PvPInstance, global::System.Int32 sliceNumber, global::System.Byte[] rowVersion)
 {
     EventSlice eventSlice = new EventSlice();
     eventSlice.Id = id;
     eventSlice.EventSlice_PvPInstance = eventSlice_PvPInstance;
     eventSlice.SliceNumber = sliceNumber;
     eventSlice.RowVersion = rowVersion;
     return eventSlice;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the EventSliceSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventSliceSet(EventSlice eventSlice)
 {
     base.AddObject("EventSliceSet", eventSlice);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the EventSliceSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventSliceSet(EventSlice eventSlice)
 {
     base.AddObject("EventSliceSet", eventSlice);
 }