/// <summary> /// Create a new Add object. /// </summary> /// <param name="addsId">Initial value of the AddsId property.</param> /// <param name="siteId">Initial value of the SiteId property.</param> /// <param name="contId">Initial value of the ContId property.</param> public static Add CreateAdd(global::System.Int32 addsId, global::System.Int32 siteId, global::System.Int32 contId) { Add add = new Add(); add.AddsId = addsId; add.SiteId = siteId; add.ContId = contId; return add; }
/// <summary> /// Deprecated Method for adding a new object to the Adds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAdds(Add add) { base.AddObject("Adds", add); }