Beispiel #1
0
        /// <summary>
        /// Create a new Seen object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="clientDatabaseId">Initial value of the ClientDatabaseId property.</param>
        /// <param name="lastSeen">Initial value of the LastSeen property.</param>
        public static Seen CreateSeen(global::System.Guid id, global::System.Int32 clientDatabaseId, global::System.DateTime lastSeen)
        {
            Seen seen = new Seen();

            seen.Id = id;
            seen.ClientDatabaseId = clientDatabaseId;
            seen.LastSeen         = lastSeen;
            return(seen);
        }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Seen EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSeen(Seen seen)
 {
     base.AddObject("Seen", seen);
 }