MySql.Data.Entity.Tests.TabletComputer.CreateTabletComputer C# (CSharp) Method

CreateTabletComputer() public static method

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