示例#1
0
        /// <summary>
        /// Create a new Sprint object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="rowVersion">Initial value of the RowVersion property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="startDate">Initial value of the StartDate property.</param>
        /// <param name="finishDate">Initial value of the FinishDate property.</param>
        public static Sprint CreateSprint(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String name, global::System.DateTime startDate, global::System.DateTime finishDate)
        {
            Sprint sprint = new Sprint();

            sprint.Id         = id;
            sprint.RowVersion = rowVersion;
            sprint.Name       = name;
            sprint.StartDate  = startDate;
            sprint.FinishDate = finishDate;
            return(sprint);
        }
示例#2
0
 /// <summary>
 /// Create a new Sprint object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="finishDate">Initial value of the FinishDate property.</param>
 public static Sprint CreateSprint(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String name, global::System.DateTime startDate, global::System.DateTime finishDate)
 {
     Sprint sprint = new Sprint();
     sprint.Id = id;
     sprint.RowVersion = rowVersion;
     sprint.Name = name;
     sprint.StartDate = startDate;
     sprint.FinishDate = finishDate;
     return sprint;
 }
示例#3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sprints EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSprints(Sprint sprint)
 {
     base.AddObject("Sprints", sprint);
 }
示例#4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sprints EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSprints(Sprint sprint)
 {
     base.AddObject("Sprints", sprint);
 }