/// <summary> /// Create a new Company object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> /// <param name="active">Initial value of the Active property.</param> public static Company CreateCompany(global::System.Guid id, global::System.String description, global::System.DateTime dateCreated, global::System.Boolean active) { Company company = new Company(); company.Id = id; company.Description = description; company.DateCreated = dateCreated; company.Active = active; return company; }
/// <summary> /// Deprecated Method for adding a new object to the Company EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCompany(Company company) { base.AddObject("Company", company); }