Exemplo n.º 1
0
 /// <summary>
 /// Create a new UserPrefs object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="mailAddress">Initial value of the MailAddress property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="server">Initial value of the Server property.</param>
 /// <param name="port">Initial value of the Port property.</param>
 /// <param name="sSL">Initial value of the SSL property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="disaplayName">Initial value of the DisaplayName property.</param>
 /// <param name="rePassword">Initial value of the rePassword property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static UserPrefs CreateUserPrefs(global::System.Int32 id, global::System.String mailAddress, global::System.String password, global::System.String server, global::System.String port, global::System.String sSL, global::System.DateTime createdDate, global::System.String disaplayName, global::System.String rePassword, global::System.Byte[] rowVersion)
 {
     UserPrefs userPrefs = new UserPrefs();
     userPrefs.Id = id;
     userPrefs.MailAddress = mailAddress;
     userPrefs.Password = password;
     userPrefs.Server = server;
     userPrefs.Port = port;
     userPrefs.SSL = sSL;
     userPrefs.CreatedDate = createdDate;
     userPrefs.DisaplayName = disaplayName;
     userPrefs.rePassword = rePassword;
     userPrefs.RowVersion = rowVersion;
     return userPrefs;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserPrefs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserPrefs(UserPrefs userPrefs)
 {
     base.AddObject("UserPrefs", userPrefs);
 }