Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Entity1 EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEntity1(Entity1 entity1)
 {
     base.AddObject("Entity1", entity1);
 }
Exemple #2
0
 /// <summary>
 /// Create a new Entity1 object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static Entity1 CreateEntity1(global::System.Int32 id)
 {
     Entity1 entity1 = new Entity1();
     entity1.Id = id;
     return entity1;
 }