/// <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); }
/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the nominations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTonominations(nominations nominations) { base.AddObject("nominations", nominations); }