예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OnLineUsersSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOnLineUsersSet(OnLineUsers onLineUsers)
 {
     base.AddObject("OnLineUsersSet", onLineUsers);
 }