/// <summary> /// Deprecated Method for adding a new object to the Establishments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEstablishments(Establishments establishments) { base.AddObject("Establishments", establishments); }
/// <summary> /// Create a new Establishments object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="establishmentName">Initial value of the EstablishmentName property.</param> public static Establishments CreateEstablishments(global::System.Int32 id, global::System.String establishmentName) { Establishments establishments = new Establishments(); establishments.Id = id; establishments.EstablishmentName = establishmentName; return establishments; }