/// <summary> /// Deprecated Method for adding a new object to the SiteActivities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSiteActivities(SiteActivities siteActivities) { base.AddObject("SiteActivities", siteActivities); }
/// <summary> /// Create a new SiteActivities object. /// </summary> /// <param name="siteActivityID">Initial value of the SiteActivityID property.</param> /// <param name="addDate">Initial value of the AddDate property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static SiteActivities CreateSiteActivities(global::System.Int32 siteActivityID, global::System.DateTime addDate, global::System.Byte[] rowVersion) { SiteActivities siteActivities = new SiteActivities(); siteActivities.SiteActivityID = siteActivityID; siteActivities.AddDate = addDate; siteActivities.RowVersion = rowVersion; return siteActivities; }