/// <summary> /// Create a new PvPEvent object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static PvPEvent CreatePvPEvent(global::System.Int32 id, global::System.String name, global::System.Byte[] rowVersion) { PvPEvent pvPEvent = new PvPEvent(); pvPEvent.Id = id; pvPEvent.Name = name; pvPEvent.RowVersion = rowVersion; return(pvPEvent); }
/// <summary> /// Deprecated Method for adding a new object to the PvPEvents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPvPEvents(PvPEvent pvPEvent) { base.AddObject("PvPEvents", pvPEvent); }
/// <summary> /// Create a new PvPEvent object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static PvPEvent CreatePvPEvent(global::System.Int32 id, global::System.String name, global::System.Byte[] rowVersion) { PvPEvent pvPEvent = new PvPEvent(); pvPEvent.Id = id; pvPEvent.Name = name; pvPEvent.RowVersion = rowVersion; return pvPEvent; }