MySql.Data.Entity.Tests.Publisher.CreatePublisher C# (CSharp) Method

CreatePublisher() public static method

Create a new Publisher object.
public static CreatePublisher ( global id, global name ) : Publisher
id global Initial value of the id property.
name global Initial value of the name property.
return Publisher
        public static Publisher CreatePublisher(global::System.Int32 id, global::System.String name)
        {
            Publisher publisher = new Publisher();
            publisher.id = id;
            publisher.name = name;
            return publisher;
        }