MySql.Data.Entity.Tests.Company.CreateCompany C# (CSharp) Method

CreateCompany() public static method

Create a new Company object.
public static CreateCompany ( global id, global name, CommonAddress address ) : Company
id global Initial value of the Id property.
name global Initial value of the Name property.
address CommonAddress Initial value of the Address property.
return Company
        public static Company CreateCompany(global::System.Int32 id, global::System.String name, CommonAddress address)
        {
            Company company = new Company();
            company.Id = id;
            company.Name = name;
            company.Address = StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
            return company;
        }