/// <summary> /// Deprecated Method for adding a new object to the Services EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToServices(Service service) { base.AddObject("Services", service); }
/// <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; }