MySql.Data.Entity.Tests.myauthor.Createmyauthor C# (CSharp) Method

Createmyauthor() public static method

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