예제 #1
0
        /// <summary>
        /// Create a new vspclient object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="parent_id">Initial value of the parent_id property.</param>
        /// <param name="contactFirstName">Initial value of the ContactFirstName property.</param>
        /// <param name="contactLastName">Initial value of the ContactLastName property.</param>
        /// <param name="businessName">Initial value of the BusinessName property.</param>
        /// <param name="agent_id">Initial value of the agent_id property.</param>
        /// <param name="businessType">Initial value of the businessType property.</param>
        /// <param name="sICcode">Initial value of the SICcode property.</param>
        /// <param name="status">Initial value of the status property.</param>
        /// <param name="effectiveDate">Initial value of the effectiveDate property.</param>
        /// <param name="termDate">Initial value of the termDate property.</param>
        /// <param name="billingType_id">Initial value of the billingType_id property.</param>
        /// <param name="invoiceName">Initial value of the invoiceName property.</param>
        /// <param name="address">Initial value of the address property.</param>
        /// <param name="address2">Initial value of the address2 property.</param>
        /// <param name="city">Initial value of the city property.</param>
        /// <param name="state">Initial value of the state property.</param>
        /// <param name="zip">Initial value of the zip property.</param>
        /// <param name="phone">Initial value of the phone property.</param>
        /// <param name="email">Initial value of the email property.</param>
        /// <param name="phone2">Initial value of the phone2 property.</param>
        /// <param name="fax">Initial value of the fax property.</param>
        /// <param name="comments">Initial value of the comments property.</param>
        /// <param name="webURL">Initial value of the webURL property.</param>
        /// <param name="customField1">Initial value of the customField1 property.</param>
        /// <param name="customField2">Initial value of the customField2 property.</param>
        /// <param name="customField3">Initial value of the customField3 property.</param>
        /// <param name="customFieldNumeric">Initial value of the customFieldNumeric property.</param>
        /// <param name="eft">Initial value of the eft property.</param>
        public static vspclient Createvspclient(global::System.Int32 id, global::System.Int32 parent_id, global::System.String contactFirstName, global::System.String contactLastName, global::System.String businessName, global::System.Int32 agent_id, global::System.String businessType, global::System.String sICcode, global::System.String status, global::System.DateTime effectiveDate, global::System.DateTime termDate, global::System.Int32 billingType_id, global::System.String invoiceName, global::System.String address, global::System.String address2, global::System.String city, global::System.String state, global::System.String zip, global::System.String phone, global::System.String email, global::System.String phone2, global::System.String fax, global::System.String comments, global::System.String webURL, global::System.String customField1, global::System.String customField2, global::System.String customField3, global::System.Int32 customFieldNumeric, global::System.Boolean eft)
        {
            vspclient vspclient = new vspclient();

            vspclient.id                 = id;
            vspclient.parent_id          = parent_id;
            vspclient.ContactFirstName   = contactFirstName;
            vspclient.ContactLastName    = contactLastName;
            vspclient.BusinessName       = businessName;
            vspclient.agent_id           = agent_id;
            vspclient.businessType       = businessType;
            vspclient.SICcode            = sICcode;
            vspclient.status             = status;
            vspclient.effectiveDate      = effectiveDate;
            vspclient.termDate           = termDate;
            vspclient.billingType_id     = billingType_id;
            vspclient.invoiceName        = invoiceName;
            vspclient.address            = address;
            vspclient.address2           = address2;
            vspclient.city               = city;
            vspclient.state              = state;
            vspclient.zip                = zip;
            vspclient.phone              = phone;
            vspclient.email              = email;
            vspclient.phone2             = phone2;
            vspclient.fax                = fax;
            vspclient.comments           = comments;
            vspclient.webURL             = webURL;
            vspclient.customField1       = customField1;
            vspclient.customField2       = customField2;
            vspclient.customField3       = customField3;
            vspclient.customFieldNumeric = customFieldNumeric;
            vspclient.eft                = eft;
            return(vspclient);
        }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the vspclients EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovspclients(vspclient vspclient)
 {
     base.AddObject("vspclients", vspclient);
 }