/// <summary> /// Create a new AutoService object. /// </summary> /// <param name="autoServiceID">Initial value of the AutoServiceID property.</param> /// <param name="serviceName">Initial value of the ServiceName property.</param> /// <param name="servicePrice">Initial value of the ServicePrice property.</param> public static AutoService CreateAutoService(global::System.Int32 autoServiceID, global::System.String serviceName, global::System.Decimal servicePrice) { AutoService autoService = new AutoService(); autoService.AutoServiceID = autoServiceID; autoService.ServiceName = serviceName; autoService.ServicePrice = servicePrice; return(autoService); }
/// <summary> /// Create a new AutoService object. /// </summary> /// <param name="autoServiceID">Initial value of the AutoServiceID property.</param> /// <param name="serviceName">Initial value of the ServiceName property.</param> /// <param name="servicePrice">Initial value of the ServicePrice property.</param> public static AutoService CreateAutoService(global::System.Int32 autoServiceID, global::System.String serviceName, global::System.Decimal servicePrice) { AutoService autoService = new AutoService(); autoService.AutoServiceID = autoServiceID; autoService.ServiceName = serviceName; autoService.ServicePrice = servicePrice; return autoService; }
/// <summary> /// Deprecated Method for adding a new object to the AutoServices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAutoServices(AutoService autoService) { base.AddObject("AutoServices", autoService); }