Наследование: System.Data.Objects.DataClasses.EntityObject
Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Hit EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHit(Hit hit)
 {
     base.AddObject("Hit", hit);
 }
Пример #2
0
 /// <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;
 }