/// <summary> /// Create a new ServiceCall object. /// </summary> /// <param name="callId">Initial value of the CallId property.</param> /// <param name="contactName">Initial value of the ContactName property.</param> /// <param name="issue">Initial value of the Issue property.</param> /// <param name="techId">Initial value of the TechId property.</param> public static ServiceCall CreateServiceCall(global::System.Int32 callId, global::System.String contactName, global::System.String issue, global::System.Int32 techId) { ServiceCall serviceCall = new ServiceCall(); serviceCall.CallId = callId; serviceCall.ContactName = contactName; serviceCall.Issue = issue; serviceCall.TechId = techId; return(serviceCall); }
/// <summary> /// Deprecated Method for adding a new object to the ServiceCalls EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToServiceCalls(ServiceCall serviceCall) { base.AddObject("ServiceCalls", serviceCall); }