/// <summary> /// Deprecated Method for adding a new object to the Hit EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHit(Hit hit) { base.AddObject("Hit", hit); }
/// <summary> /// Create a new Hit object. /// </summary> /// <param name="contentId">Initial value of the ContentId property.</param> /// <param name="contentType">Initial value of the ContentType property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="hitId">Initial value of the HitId property.</param> /// <param name="iP">Initial value of the IP property.</param> public static Hit CreateHit(global::System.Int32 contentId, global::System.Byte contentType, global::System.DateTime date, global::System.Int64 hitId, global::System.Byte[] iP) { Hit hit = new Hit(); hit.ContentId = contentId; hit.ContentType = contentType; hit.Date = date; hit.HitId = hitId; hit.IP = iP; return hit; }