MySql.Data.Entity.Tests.DesktopComputer.CreateDesktopComputer C# (CSharp) Method

CreateDesktopComputer() public static method

Create a new DesktopComputer object.
public static CreateDesktopComputer ( global brand, global id ) : DesktopComputer
brand global Initial value of the Brand property.
id global Initial value of the Id property.
return DesktopComputer
        public static DesktopComputer CreateDesktopComputer(global::System.String brand, global::System.Int32 id)
        {
            DesktopComputer desktopComputer = new DesktopComputer();
            desktopComputer.Brand = brand;
            desktopComputer.Id = id;
            return desktopComputer;
        }