Inheritance: System.Data.Objects.DataClasses.EntityObject
Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LawChapter EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLawChapter(LawChapter lawChapter)
 {
     base.AddObject("LawChapter", lawChapter);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new LawChapter object.
 /// </summary>
 /// <param name="lawChapterId">Initial value of the LawChapterId property.</param>
 public static LawChapter CreateLawChapter(global::System.Int32 lawChapterId)
 {
     LawChapter lawChapter = new LawChapter();
     lawChapter.LawChapterId = lawChapterId;
     return lawChapter;
 }