/// <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);
 }
 /// <summary>
 /// Create a new layout object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="layout_code">Initial value of the layout_code property.</param>
 /// <param name="layout_type">Initial value of the layout_type property.</param>
 /// <param name="seq">Initial value of the seq property.</param>
 /// <param name="stamp">Initial value of the stamp property.</param>
 /// <param name="access_criteria">Initial value of the access_criteria property.</param>
 public static layout Createlayout(global::System.Int32 id, global::System.String layout_code, global::System.String layout_type, global::System.Int32 seq, global::System.DateTime stamp, global::System.String access_criteria)
 {
     layout layout = new layout();
     layout.id = id;
     layout.layout_code = layout_code;
     layout.layout_type = layout_type;
     layout.seq = seq;
     layout.stamp = stamp;
     layout.access_criteria = access_criteria;
     return layout;
 }