コード例 #1
0
        /// <summary>
        /// Create a new nominations object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="mvpId">Initial value of the MvpId property.</param>
        /// <param name="startDate">Initial value of the StartDate property.</param>
        /// <param name="category">Initial value of the Category property.</param>
        public static nominations Createnominations(global::System.Int32 id, global::System.Int32 mvpId, global::System.DateTime startDate, global::System.String category)
        {
            nominations nominations = new nominations();

            nominations.Id        = id;
            nominations.MvpId     = mvpId;
            nominations.StartDate = startDate;
            nominations.Category  = category;
            return(nominations);
        }
コード例 #2
0
 /// <summary>
 /// Create a new nominations object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="mvpId">Initial value of the MvpId property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="category">Initial value of the Category property.</param>
 public static nominations Createnominations(global::System.Int32 id, global::System.Int32 mvpId, global::System.DateTime startDate, global::System.String category)
 {
     nominations nominations = new nominations();
     nominations.Id = id;
     nominations.MvpId = mvpId;
     nominations.StartDate = startDate;
     nominations.Category = category;
     return nominations;
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the nominations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTonominations(nominations nominations)
 {
     base.AddObject("nominations", nominations);
 }
コード例 #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the nominations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTonominations(nominations nominations)
 {
     base.AddObject("nominations", nominations);
 }