Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UpcomingRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUpcomingRoles(UpcomingRole upcomingRole)
 {
     base.AddObject("UpcomingRoles", upcomingRole);
 }
Beispiel #2
0
 /// <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;
 }