/// <summary> /// Deprecated Method for adding a new object to the FilmCharacters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFilmCharacters(FilmCharacter filmCharacter) { base.AddObject("FilmCharacters", filmCharacter); }
/// <summary> /// Create a new FilmCharacter object. /// </summary> /// <param name="filmCharacterId">Initial value of the FilmCharacterId property.</param> /// <param name="crewMemberId">Initial value of the CrewMemberId property.</param> /// <param name="characterName">Initial value of the CharacterName property.</param> public static FilmCharacter CreateFilmCharacter(global::System.Int32 filmCharacterId, global::System.Int32 crewMemberId, global::System.String characterName) { FilmCharacter filmCharacter = new FilmCharacter(); filmCharacter.FilmCharacterId = filmCharacterId; filmCharacter.CrewMemberId = crewMemberId; filmCharacter.CharacterName = characterName; return filmCharacter; }