Inheritance: System.Data.Objects.DataClasses.EntityObject
Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Law EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLaw(Law law)
 {
     base.AddObject("Law", law);
 }
Example #2
0
 /// <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;
 }