/// <summary>
 /// Deprecated Method for adding a new object to the GlRules EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGlRules(GlRules glRules)
 {
     base.AddObject("GlRules", glRules);
 }
 /// <summary>
 /// Create a new GlRules object.
 /// </summary>
 /// <param name="gl_type">Initial value of the gl_type property.</param>
 /// <param name="view_name">Initial value of the view_name property.</param>
 /// <param name="search_order">Initial value of the search_order property.</param>
 /// <param name="segments">Initial value of the segments property.</param>
 /// <param name="operator">Initial value of the operator property.</param>
 /// <param name="erromsg">Initial value of the erromsg property.</param>
 public static GlRules CreateGlRules(global::System.String gl_type, global::System.String view_name, global::System.Int32 search_order, global::System.String segments, global::System.String @operator, global::System.String erromsg)
 {
     GlRules glRules = new GlRules();
     glRules.gl_type = gl_type;
     glRules.view_name = view_name;
     glRules.search_order = search_order;
     glRules.segments = segments;
     glRules.@operator = @operator;
     glRules.erromsg = erromsg;
     return glRules;
 }