예제 #1
0
파일: Model1.cs 프로젝트: endlessido/MEDIA
 /// <summary>
 /// Create a new Area object.
 /// </summary>
 /// <param name="areaId">Initial value of the AreaId property.</param>
 public static Area CreateArea(global::System.Int32 areaId)
 {
     Area area = new Area();
     area.AreaId = areaId;
     return area;
 }
예제 #2
0
파일: Model1.cs 프로젝트: endlessido/MEDIA
 /// <summary>
 /// Deprecated Method for adding a new object to the Areas EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAreas(Area area)
 {
     base.AddObject("Areas", area);
 }