Inheritance: System.Data.Objects.DataClasses.EntityObject
Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProposedLaw EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProposedLaw(ProposedLaw proposedLaw)
 {
     base.AddObject("ProposedLaw", proposedLaw);
 }
Example #2
0
 /// <summary>
 /// Create a new ProposedLaw object.
 /// </summary>
 /// <param name="proposedLawId">Initial value of the ProposedLawId property.</param>
 public static ProposedLaw CreateProposedLaw(global::System.Int32 proposedLawId)
 {
     ProposedLaw proposedLaw = new ProposedLaw();
     proposedLaw.ProposedLawId = proposedLawId;
     return proposedLaw;
 }