/// <summary> /// Create a new Leaflet object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="url">Initial value of the Url property.</param> /// <param name="practiceId">Initial value of the PracticeId property.</param> public static Leaflet CreateLeaflet(global::System.Int32 id, global::System.String url, global::System.Int32 practiceId) { Leaflet leaflet = new Leaflet(); leaflet.Id = id; leaflet.Url = url; leaflet.PracticeId = practiceId; return leaflet; }
/// <summary> /// Deprecated Method for adding a new object to the Leaflets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLeaflets(Leaflet leaflet) { base.AddObject("Leaflets", leaflet); }