예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Layouts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLayouts(Layout layout)
 {
     base.AddObject("Layouts", layout);
 }
예제 #2
0
 /// <summary>
 /// Create a new Layout object.
 /// </summary>
 /// <param name="layoutID">Initial value of the LayoutID property.</param>
 public static Layout CreateLayout(global::System.Int32 layoutID)
 {
     Layout layout = new Layout();
     layout.LayoutID = layoutID;
     return layout;
 }