コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the sysmail_server EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosysmail_server(sysmail_server sysmail_server)
 {
     base.AddObject("sysmail_server", sysmail_server);
 }
コード例 #2
0
 /// <summary>
 /// Create a new sysmail_server object.
 /// </summary>
 /// <param name="account_id">Initial value of the account_id property.</param>
 /// <param name="servertype">Initial value of the servertype property.</param>
 /// <param name="servername">Initial value of the servername property.</param>
 /// <param name="port">Initial value of the port property.</param>
 /// <param name="use_default_credentials">Initial value of the use_default_credentials property.</param>
 /// <param name="enable_ssl">Initial value of the enable_ssl property.</param>
 /// <param name="flags">Initial value of the flags property.</param>
 /// <param name="last_mod_datetime">Initial value of the last_mod_datetime property.</param>
 /// <param name="last_mod_user">Initial value of the last_mod_user property.</param>
 public static sysmail_server Createsysmail_server(global::System.Int32 account_id, global::System.String servertype, global::System.String servername, global::System.Int32 port, global::System.Boolean use_default_credentials, global::System.Boolean enable_ssl, global::System.Int32 flags, global::System.DateTime last_mod_datetime, global::System.String last_mod_user)
 {
     sysmail_server sysmail_server = new sysmail_server();
     sysmail_server.account_id = account_id;
     sysmail_server.servertype = servertype;
     sysmail_server.servername = servername;
     sysmail_server.port = port;
     sysmail_server.use_default_credentials = use_default_credentials;
     sysmail_server.enable_ssl = enable_ssl;
     sysmail_server.flags = flags;
     sysmail_server.last_mod_datetime = last_mod_datetime;
     sysmail_server.last_mod_user = last_mod_user;
     return sysmail_server;
 }