/// <summary> /// Create a new OnLineUsers object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="username">Initial value of the Username property.</param> /// <param name="isOnline">Initial value of the IsOnline property.</param> public static OnLineUsers CreateOnLineUsers(global::System.Int32 id, global::System.String username, global::System.Boolean isOnline) { OnLineUsers onLineUsers = new OnLineUsers(); onLineUsers.Id = id; onLineUsers.Username = username; onLineUsers.IsOnline = isOnline; return onLineUsers; }
/// <summary> /// Deprecated Method for adding a new object to the OnLineUsersSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOnLineUsersSet(OnLineUsers onLineUsers) { base.AddObject("OnLineUsersSet", onLineUsers); }