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