/// <summary> /// Create a new MainEntity1 object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> public static MainEntity1 CreateMainEntity1(global::System.Int64 id, global::System.String name) { MainEntity1 mainEntity1 = new MainEntity1(); mainEntity1.Id = id; mainEntity1.Name = name; return(mainEntity1); }
/// <summary> /// Deprecated Method for adding a new object to the MainEntity1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMainEntity1(MainEntity1 mainEntity1) { base.AddObject("MainEntity1", mainEntity1); }