/// <summary> /// Create a new Users object. /// </summary> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="siteID">Initial value of the SiteID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="profileApproved">Initial value of the ProfileApproved property.</param> /// <param name="approvedForForums">Initial value of the ApprovedForForums property.</param> /// <param name="trusted">Initial value of the Trusted property.</param> /// <param name="totalPosts">Initial value of the TotalPosts property.</param> /// <param name="timeOffsetHours">Initial value of the TimeOffsetHours property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> /// <param name="isLockedOut">Initial value of the IsLockedOut property.</param> public static Users CreateUsers(global::System.Int32 userID, global::System.Int32 siteID, global::System.String name, global::System.String email, global::System.Boolean profileApproved, global::System.Boolean approvedForForums, global::System.Boolean trusted, global::System.Int32 totalPosts, global::System.Int32 timeOffsetHours, global::System.DateTime dateCreated, global::System.Boolean isDeleted, global::System.Boolean isLockedOut) { Users users = new Users(); users.UserID = userID; users.SiteID = siteID; users.Name = name; users.Email = email; users.ProfileApproved = profileApproved; users.ApprovedForForums = approvedForForums; users.Trusted = trusted; users.TotalPosts = totalPosts; users.TimeOffsetHours = timeOffsetHours; users.DateCreated = dateCreated; users.IsDeleted = isDeleted; users.IsLockedOut = isLockedOut; return users; }
/// <summary> /// Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsers(Users users) { base.AddObject("Users", users); }