public AddDirector(Exporter exporter) { _exporter = exporter; InitializeComponent(); }
/// <summary> /// Deprecated Method for adding a new object to the Exporters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExporters(Exporter exporter) { base.AddObject("Exporters", exporter); }
public AddExporter() { InitializeComponent(); exporter = new Exporter(); }
/// <summary> /// Create a new Exporter object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="regNo">Initial value of the RegNo property.</param> /// <param name="address">Initial value of the Address property.</param> /// <param name="telNo">Initial value of the TelNo property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="shortTag">Initial value of the ShortTag property.</param> public static Exporter CreateExporter(global::System.Int32 id, global::System.String regNo, global::System.String address, global::System.String telNo, global::System.String email, global::System.String description, global::System.String shortTag) { Exporter exporter = new Exporter(); exporter.Id = id; exporter.RegNo = regNo; exporter.Address = address; exporter.TelNo = telNo; exporter.Email = email; exporter.Description = description; exporter.ShortTag = shortTag; return exporter; }