MySql.Data.Entity.Tests.Animal.CreateAnimal C# (CSharp) Method

CreateAnimal() public static method

Create a new Animal object.
public static CreateAnimal ( global id, global name, global shelterId ) : Animal
id global Initial value of the Id property.
name global Initial value of the Name property.
shelterId global Initial value of the ShelterId property.
return Animal
        public static Animal CreateAnimal(global::System.Int32 id, global::System.String name, global::System.Int32 shelterId)
        {
            Animal animal = new Animal();
            animal.Id = id;
            animal.Name = name;
            animal.ShelterId = shelterId;
            return animal;
        }