ITimeU.Models.Race.CreateRace C# (CSharp) Method

CreateRace() public static method

Create a new Race object.
public static CreateRace ( global raceID, global name, global startDate, global isDeleted ) : Race
raceID global Initial value of the RaceID property.
name global Initial value of the Name property.
startDate global Initial value of the StartDate property.
isDeleted global Initial value of the IsDeleted property.
return Race
        public static Race CreateRace(global::System.Int32 raceID, global::System.String name, global::System.DateTime startDate, global::System.Boolean isDeleted)
        {
            Race race = new Race();
            race.RaceID = raceID;
            race.Name = name;
            race.StartDate = startDate;
            race.IsDeleted = isDeleted;
            return race;
        }