/// <summary> /// Deprecated Method for adding a new object to the ServiceTemplateWithVendorIds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToServiceTemplateWithVendorIds(ServiceTemplateWithVendorId serviceTemplateWithVendorId) { base.AddObject("ServiceTemplateWithVendorIds", serviceTemplateWithVendorId); }
/// <summary> /// Create a new ServiceTemplateWithVendorId object. /// </summary> /// <param name="serviceTemplateId">Initial value of the ServiceTemplateId property.</param> /// <param name="businessAccountId">Initial value of the BusinessAccountId property.</param> public static ServiceTemplateWithVendorId CreateServiceTemplateWithVendorId(global::System.Guid serviceTemplateId, global::System.Guid businessAccountId) { ServiceTemplateWithVendorId serviceTemplateWithVendorId = new ServiceTemplateWithVendorId(); serviceTemplateWithVendorId.ServiceTemplateId = serviceTemplateId; serviceTemplateWithVendorId.BusinessAccountId = businessAccountId; return serviceTemplateWithVendorId; }