/// <summary> /// Deprecated Method for adding a new object to the companies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocompanies(company company) { base.AddObject("companies", company); }
/// <summary> /// Create a new company object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="companyName">Initial value of the CompanyName property.</param> /// <param name="companyCode">Initial value of the CompanyCode property.</param> /// <param name="processDataFlag">Initial value of the ProcessDataFlag property.</param> /// <param name="d2C">Initial value of the D2C property.</param> public static company Createcompany(global::System.Int32 id, global::System.String companyName, global::System.String companyCode, global::System.Int32 processDataFlag, global::System.Int64 d2C) { company company = new company(); company.ID = id; company.CompanyName = companyName; company.CompanyCode = companyCode; company.ProcessDataFlag = processDataFlag; company.D2C = d2C; return company; }