/// <summary> /// Deprecated Method for adding a new object to the UpcomingRoles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUpcomingRoles(UpcomingRole upcomingRole) { base.AddObject("UpcomingRoles", upcomingRole); }
/// <summary> /// Create a new UpcomingRole object. /// </summary> /// <param name="roleId">Initial value of the RoleId property.</param> public static UpcomingRole CreateUpcomingRole(global::System.Int32 roleId) { UpcomingRole upcomingRole = new UpcomingRole(); upcomingRole.RoleId = roleId; return upcomingRole; }