Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Manufacturers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToManufacturers(Manufacturer manufacturer)
 {
     base.AddObject("Manufacturers", manufacturer);
 }
Пример #2
0
 private bool FilterManufacturer(Manufacturer entity)
 {
     return (entity.Id == this.ManufacturerId);
 }
Пример #3
0
 /// <summary>
 /// Create a new Manufacturer object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Manufacturer CreateManufacturer(global::System.Int32 id, global::System.String name)
 {
     Manufacturer manufacturer = new Manufacturer();
     manufacturer.Id = id;
     manufacturer.Name = name;
     return manufacturer;
 }