/// <summary> /// Create a new Fish object. /// </summary> /// <param name="fishID">Initial value of the FishID property.</param> /// <param name="genus">Initial value of the Genus property.</param> /// <param name="species">Initial value of the Species property.</param> /// <param name="locale">Initial value of the Locale property.</param> /// <param name="temperament">Initial value of the Temperament property.</param> /// <param name="size">Initial value of the Size property.</param> public static Fish CreateFish(global::System.Int32 fishID, global::System.Int32 genus, global::System.Int32 species, global::System.Int32 locale, global::System.Int32 temperament, global::System.Int32 size) { Fish fish = new Fish(); fish.FishID = fishID; fish.Genus = genus; fish.Species = species; fish.Locale = locale; fish.Temperament = temperament; fish.Size = size; return fish; }
/// <summary> /// Deprecated Method for adding a new object to the Fish EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFish(Fish fish) { base.AddObject("Fish", fish); }