Inheritance: System.Data.Objects.DataClasses.EntityObject
Example #1
0
 public void MAT_MARGETest()
 {
     TR_MATERIAL mat = new TR_MATERIAL();
     decimal expected = new Decimal(2.0);
     mat.MAT_MARGE = expected;
     Assert.AreEqual(expected, mat.MAT_MARGE);
 }
Example #2
0
 public void MAT_IDTest()
 {
     TR_MATERIAL mat = new TR_MATERIAL();
     int expected = 1;
     mat.MAT_ID = expected;
     Assert.AreEqual(expected, mat.MAT_ID);
 }
Example #3
0
 public void TR_MATERIALConstructorTest()
 {
     TR_MATERIAL target = new TR_MATERIAL();
     Assert.IsInstanceOfType(target, typeof(TR_MATERIAL));
 }
 public void TR_MATERIALTest()
 {
     TZ_MATERIALLISTE matlist = new TZ_MATERIALLISTE();
     TR_MATERIAL expected = new TR_MATERIAL();
     expected.MAT_ID = 1;
     matlist.TR_MATERIAL = expected;
     Assert.AreEqual(expected, matlist.TR_MATERIAL);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the TR_MATERIAL EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTR_MATERIAL(TR_MATERIAL tR_MATERIAL)
 {
     base.AddObject("TR_MATERIAL", tR_MATERIAL);
 }
 /// <summary>
 /// Create a new TR_MATERIAL object.
 /// </summary>
 /// <param name="mAT_ID">Initial value of the MAT_ID property.</param>
 public static TR_MATERIAL CreateTR_MATERIAL(global::System.Int32 mAT_ID)
 {
     TR_MATERIAL tR_MATERIAL = new TR_MATERIAL();
     tR_MATERIAL.MAT_ID = mAT_ID;
     return tR_MATERIAL;
 }