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