MySql.Data.Entity.Tests.Company.CreateCompany C# (CSharp) 메소드

CreateCompany() 공개 정적인 메소드

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.
리턴 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;
        }