/// <summary> /// Create a new Breed object. /// </summary> /// <param name="breedId">Initial value of the BreedId property.</param> /// <param name="kindId">Initial value of the KindId property.</param> /// <param name="name">Initial value of the Name property.</param> public static Breed CreateBreed(global::System.Int16 breedId, global::System.Int16 kindId, global::System.String name) { Breed breed = new Breed(); breed.BreedId = breedId; breed.KindId = kindId; breed.Name = name; return breed; }
/// <summary> /// Deprecated Method for adding a new object to the Breeds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBreeds(Breed breed) { base.AddObject("Breeds", breed); }