/// <summary> /// Deprecated Method for adding a new object to the Service EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToService(Service service) { base.AddObject("Service", service); }
/// <summary> /// Create a new Service object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="idPosada">Initial value of the IdPosada property.</param> public static Service CreateService(global::System.Int32 id, global::System.String name, global::System.String description, global::System.Int32 idPosada) { Service service = new Service(); service.Id = id; service.Name = name; service.Description = description; service.IdPosada = idPosada; return service; }