コード例 #1
0
 /// <summary>
 /// Create a new CrewRole object.
 /// </summary>
 /// <param name="crewRoleId">Initial value of the CrewRoleId property.</param>
 /// <param name="role">Initial value of the Role property.</param>
 public static CrewRole CreateCrewRole(global::System.Int32 crewRoleId, global::System.String role)
 {
     CrewRole crewRole = new CrewRole();
     crewRole.CrewRoleId = crewRoleId;
     crewRole.Role = role;
     return crewRole;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CrewRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCrewRoles(CrewRole crewRole)
 {
     base.AddObject("CrewRoles", crewRole);
 }