Beispiel #1
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);
        }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Entity1Set EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEntity1Set(Entity1 entity1)
 {
     base.AddObject("Entity1Set", entity1);
 }
Beispiel #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     Entity1 et1 = new Entity1();
 }