Example #1
0
 public AddDirector(Exporter exporter)
 {
     _exporter = exporter;
     InitializeComponent();
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Exporters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToExporters(Exporter exporter)
 {
     base.AddObject("Exporters", exporter);
 }
Example #3
0
 public AddExporter()
 {
     InitializeComponent();
     exporter = new Exporter();
 }
Example #4
0
 /// <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;
 }