/// <summary> /// Create a new Practice object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> public static Practice CreatePractice(global::System.Int32 id, global::System.String name) { Practice practice = new Practice(); practice.Id = id; practice.Name = name; return practice; }
/// <summary> /// Deprecated Method for adding a new object to the Practices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> internal void AddToPractices(Practice practice) { base.AddObject("Practices", practice); }