/// <summary> /// Create a new LookupScript object. /// </summary> /// <param name="lookupId">Initial value of the LookupId property.</param> /// <param name="lookupPhoneNr">Initial value of the LookupPhoneNr property.</param> /// <param name="connectusCode">Initial value of the ConnectusCode property.</param> /// <param name="callScript">Initial value of the CallScript property.</param> /// <param name="virtualPhoneNumber">Initial value of the VirtualPhoneNumber property.</param> public static LookupScript CreateLookupScript(global::System.Int32 lookupId, global::System.String lookupPhoneNr, global::System.String connectusCode, global::System.String callScript, global::System.Boolean virtualPhoneNumber) { LookupScript lookupScript = new LookupScript(); lookupScript.LookupId = lookupId; lookupScript.LookupPhoneNr = lookupPhoneNr; lookupScript.ConnectusCode = connectusCode; lookupScript.CallScript = callScript; lookupScript.VirtualPhoneNumber = virtualPhoneNumber; return(lookupScript); }
/// <summary> /// Deprecated Method for adding a new object to the LookupScripts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLookupScripts(LookupScript lookupScript) { base.AddObject("LookupScripts", lookupScript); }