コード例 #1
0
        /// <summary>
        /// Create a new PvPInstance object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="pvPInstance_PvPEvent">Initial value of the PvPInstance_PvPEvent property.</param>
        /// <param name="startTime">Initial value of the StartTime property.</param>
        /// <param name="duration">Initial value of the Duration property.</param>
        /// <param name="rowVersion">Initial value of the RowVersion property.</param>
        public static PvPInstance CreatePvPInstance(global::System.Int32 id, global::System.Int32 pvPInstance_PvPEvent, global::System.DateTime startTime, global::System.DateTimeOffset duration, global::System.Byte[] rowVersion)
        {
            PvPInstance pvPInstance = new PvPInstance();

            pvPInstance.Id = id;
            pvPInstance.PvPInstance_PvPEvent = pvPInstance_PvPEvent;
            pvPInstance.StartTime            = startTime;
            pvPInstance.Duration             = duration;
            pvPInstance.RowVersion           = rowVersion;
            return(pvPInstance);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PvPInstances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPvPInstances(PvPInstance pvPInstance)
 {
     base.AddObject("PvPInstances", pvPInstance);
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PvPInstances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPvPInstances(PvPInstance pvPInstance)
 {
     base.AddObject("PvPInstances", pvPInstance);
 }
コード例 #4
0
 /// <summary>
 /// Create a new PvPInstance object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="pvPInstance_PvPEvent">Initial value of the PvPInstance_PvPEvent property.</param>
 /// <param name="startTime">Initial value of the StartTime property.</param>
 /// <param name="duration">Initial value of the Duration property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static PvPInstance CreatePvPInstance(global::System.Int32 id, global::System.Int32 pvPInstance_PvPEvent, global::System.DateTime startTime, global::System.DateTimeOffset duration, global::System.Byte[] rowVersion)
 {
     PvPInstance pvPInstance = new PvPInstance();
     pvPInstance.Id = id;
     pvPInstance.PvPInstance_PvPEvent = pvPInstance_PvPEvent;
     pvPInstance.StartTime = startTime;
     pvPInstance.Duration = duration;
     pvPInstance.RowVersion = rowVersion;
     return pvPInstance;
 }