Esempio n. 1
0
 /// <summary>
 /// Create a new EmailSetting object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="server">Initial value of the Server property.</param>
 /// <param name="enableSSL">Initial value of the EnableSSL property.</param>
 /// <param name="username">Initial value of the Username property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="port">Initial value of the Port property.</param>
 public static EmailSetting CreateEmailSetting(global::System.Guid id, global::System.String server, global::System.Boolean enableSSL, global::System.String username, global::System.String password, global::System.Int32 port)
 {
     EmailSetting emailSetting = new EmailSetting();
     emailSetting.ID = id;
     emailSetting.Server = server;
     emailSetting.EnableSSL = enableSSL;
     emailSetting.Username = username;
     emailSetting.Password = password;
     emailSetting.Port = port;
     return emailSetting;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmailSettings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmailSettings(EmailSetting emailSetting)
 {
     base.AddObject("EmailSettings", emailSetting);
 }