Exemplo n.º 1
0
 /// <summary>
 /// Create a new ChatRoomActivity object.
 /// </summary>
 /// <param name="cra_userid">Initial value of the cra_userid property.</param>
 /// <param name="cra_roomid">Initial value of the cra_roomid property.</param>
 /// <param name="cra_username">Initial value of the cra_username property.</param>
 /// <param name="cra_displayname">Initial value of the cra_displayname property.</param>
 /// <param name="cra_lastonline">Initial value of the cra_lastonline property.</param>
 public static ChatRoomActivity CreateChatRoomActivity(global::System.Int32 cra_userid, global::System.Int32 cra_roomid, global::System.String cra_username, global::System.String cra_displayname, global::System.DateTime cra_lastonline)
 {
     ChatRoomActivity chatRoomActivity = new ChatRoomActivity();
     chatRoomActivity.cra_userid = cra_userid;
     chatRoomActivity.cra_roomid = cra_roomid;
     chatRoomActivity.cra_username = cra_username;
     chatRoomActivity.cra_displayname = cra_displayname;
     chatRoomActivity.cra_lastonline = cra_lastonline;
     return chatRoomActivity;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ChatRoomActivity EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChatRoomActivity(ChatRoomActivity chatRoomActivity)
 {
     base.AddObject("ChatRoomActivity", chatRoomActivity);
 }