Пример #1
0
 /// <summary>
 /// Create a new ChatPresence object.
 /// </summary>
 /// <param name="cp_username">Initial value of the cp_username property.</param>
 /// <param name="cp_lastonline">Initial value of the cp_lastonline property.</param>
 public static ChatPresence CreateChatPresence(global::System.String cp_username, global::System.DateTime cp_lastonline)
 {
     ChatPresence chatPresence = new ChatPresence();
     chatPresence.cp_username = cp_username;
     chatPresence.cp_lastonline = cp_lastonline;
     return chatPresence;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ChatPresence EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChatPresence(ChatPresence chatPresence)
 {
     base.AddObject("ChatPresence", chatPresence);
 }