/// <summary> /// Deprecated Method for adding a new object to the Law EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLaw(Law law) { base.AddObject("Law", law); }
/// <summary> /// Create a new Law object. /// </summary> /// <param name="lawId">Initial value of the LawId property.</param> public static Law CreateLaw(global::System.Int32 lawId) { Law law = new Law(); law.LawId = lawId; return law; }