MySql.Data.Entity.Tests.Author.CreateAuthor C# (CSharp) Method

CreateAuthor() public static method

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