/// <summary> /// Create a new Service object. /// </summary> /// <param name="serviceID">Initial value of the ServiceID property.</param> public static Service CreateService(global::System.Int32 serviceID) { Service service = new Service(); service.ServiceID = serviceID; return service; }
/// <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); }