Пример #1
0
 /// <summary>
 /// Create a new Hms_User object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="user_name">Initial value of the User_name property.</param>
 /// <param name="default_message_type">Initial value of the Default_message_type property.</param>
 /// <param name="locked">Initial value of the Locked property.</param>
 /// <param name="new_message_preference">Initial value of the New_message_preference property.</param>
 /// <param name="security_authorization">Initial value of the Security_authorization property.</param>
 public static Hms_User CreateHms_User(global::System.Int32 id, global::System.String user_name, global::System.Byte default_message_type, global::System.Boolean locked, global::System.Boolean new_message_preference, global::System.Int32 security_authorization)
 {
     Hms_User hms_User = new Hms_User();
     hms_User.Id = id;
     hms_User.User_name = user_name;
     hms_User.Default_message_type = default_message_type;
     hms_User.Locked = locked;
     hms_User.New_message_preference = new_message_preference;
     hms_User.Security_authorization = security_authorization;
     return hms_User;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Hms_User EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHms_User(Hms_User hms_User)
 {
     base.AddObject("Hms_User", hms_User);
 }