Пример #1
0
 /// <summary>
 /// Create a new IdaCustomer object.
 /// </summary>
 /// <param name="customerID">Initial value of the CustomerID property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="marketID">Initial value of the MarketID property.</param>
 /// <param name="salt">Initial value of the Salt property.</param>
 /// <param name="token">Initial value of the Token property.</param>
 /// <param name="companyName">Initial value of the CompanyName property.</param>
 /// <param name="modelKey">Initial value of the ModelKey property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="lastModified">Initial value of the LastModified property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 public static IdaCustomer CreateIdaCustomer(global::System.Int32 customerID, global::System.Int32 status, global::System.Int32 marketID, global::System.String salt, global::System.String token, global::System.String companyName, global::System.String modelKey, global::System.DateTime created, global::System.DateTime lastModified, global::System.Byte[] version)
 {
     IdaCustomer idaCustomer = new IdaCustomer();
     idaCustomer.CustomerID = customerID;
     idaCustomer.Status = status;
     idaCustomer.MarketID = marketID;
     idaCustomer.Salt = salt;
     idaCustomer.Token = token;
     idaCustomer.CompanyName = companyName;
     idaCustomer.ModelKey = modelKey;
     idaCustomer.Created = created;
     idaCustomer.LastModified = lastModified;
     idaCustomer.Version = version;
     return idaCustomer;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the IdaCustomers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIdaCustomers(IdaCustomer idaCustomer)
 {
     base.AddObject("IdaCustomers", idaCustomer);
 }