/// <summary> /// Deprecated Method for adding a new object to the systemusers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTosystemusers(systemuser systemuser) { base.AddObject("systemusers", systemuser); }
/// <summary> /// Create a new systemuser object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="username">Initial value of the Username property.</param> /// <param name="userRoleId">Initial value of the UserRoleId property.</param> /// <param name="sexId">Initial value of the SexId property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> public static systemuser Createsystemuser(global::System.Int32 id, global::System.String username, global::System.Int32 userRoleId, global::System.Int32 sexId, global::System.String firstName, global::System.String lastName) { systemuser systemuser = new systemuser(); systemuser.Id = id; systemuser.Username = username; systemuser.UserRoleId = userRoleId; systemuser.SexId = sexId; systemuser.FirstName = firstName; systemuser.LastName = lastName; return systemuser; }