Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Services EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToServices(Service service)
 {
     base.AddObject("Services", service);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Service object.
 /// </summary>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="type">Initial value of the type property.</param>
 /// <param name="pk_idService">Initial value of the pk_idService property.</param>
 public static Service CreateService(global::System.String name, global::System.String type, global::System.Int64 pk_idService)
 {
     Service service = new Service();
     service.name = name;
     service.type = type;
     service.pk_idService = pk_idService;
     return service;
 }